Skip to main content

max / quasi

Field::submits_instant, the builder for the member
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-28 15:25 UTC
Signed with PGP, not checked
Commit: 2f07a90e34a077565d634d5339f9361f6c9cdfc6
Parent: 2490816
2 files changed, +14 insertions, -4 deletions
M Cargo.lock +4 -4
@@ -6211,14 +6211,14 @@
6211 6211 "winnow 1.0.4",
6212 6212 ]
6213 6213
6214 - [[patch.unused]]
6215 - name = "quasi-type"
6216 - version = "0.1.1"
6217 -
6218 6214 [[patch.unused]]
6219 6215 name = "synckit-client"
6220 6216 version = "0.9.1"
6221 6217
6218 + [[patch.unused]]
6219 + name = "quasi-type"
6220 + version = "0.1.1"
6221 +
6222 6222 [[patch.unused]]
6223 6223 name = "kberg"
6224 6224 version = "0.1.0"
@@ -2725,6 +2725,16 @@
2725 2725 self
2726 2726 }
2727 2727
2728 + /// The wall-clock value is submitted as the moment it names.
2729 + ///
2730 + /// See [`as_instant`](Self::as_instant) for what it asks and who answers
2731 + /// it. A [`layout::FieldKind::DateTime`]'s; sayable and ignored elsewhere.
2732 + #[must_use]
2733 + pub fn submits_instant(mut self) -> Self {
2734 + self.as_instant = true;
2735 + self
2736 + }
2737 +
2728 2738 /// Standing help, shown whether or not anything is wrong.
2729 2739 #[must_use]
2730 2740 pub fn hint(mut self, hint: impl Into<String>) -> Self {