pub enum ReleasedValueKindV2 {
String,
DateTime,
DateTimeTz,
Duration,
Decimal,
}Expand description
A released-only lexical scalar domain carried by a V2 compatibility value.
Variants§
String
A string above the canonical single-string byte ceiling.
DateTime
A timezone-free datetime spelling accepted by the released V1 validator.
DateTimeTz
A timezone-aware datetime spelling accepted by the released V1 validator.
Duration
A duration spelling accepted by the released V1 validator.
Decimal
A decimal spelling exposed by the released V1 driver-backed hydrator.
Implementations§
Source§impl ReleasedValueKindV2
impl ReleasedValueKindV2
Sourcepub const fn value_type(self) -> ValueTypeTag
pub const fn value_type(self) -> ValueTypeTag
Return the exact scalar domain represented by this spelling.
Trait Implementations§
Source§impl Clone for ReleasedValueKindV2
impl Clone for ReleasedValueKindV2
impl Copy for ReleasedValueKindV2
Source§impl Debug for ReleasedValueKindV2
impl Debug for ReleasedValueKindV2
impl Eq for ReleasedValueKindV2
Source§impl Hash for ReleasedValueKindV2
impl Hash for ReleasedValueKindV2
Source§impl Ord for ReleasedValueKindV2
impl Ord for ReleasedValueKindV2
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReleasedValueKindV2
impl PartialEq for ReleasedValueKindV2
Source§impl PartialOrd for ReleasedValueKindV2
impl PartialOrd for ReleasedValueKindV2
impl StructuralPartialEq for ReleasedValueKindV2
Auto Trait Implementations§
impl Freeze for ReleasedValueKindV2
impl RefUnwindSafe for ReleasedValueKindV2
impl Send for ReleasedValueKindV2
impl Sync for ReleasedValueKindV2
impl Unpin for ReleasedValueKindV2
impl UnsafeUnpin for ReleasedValueKindV2
impl UnwindSafe for ReleasedValueKindV2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more