#[non_exhaustive]pub enum Wrapper {
Date,
Timestamp,
Decimal,
Uuid,
}Expand description
Which wrapper class a value is an instance of.
A logical type JavaScript has no value for needs a new class, so more variants may come.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Date
VcDate: a calendar date as YYYY-MM-DD.
Timestamp
VcTimestamp: an instant as RFC 3339 text, to the nanosecond.
Decimal
VcDecimal: a fixed-point decimal as text.
Uuid
VcUuid: a UUID as hyphenated hexadecimal.
Implementations§
Trait Implementations§
impl Copy for Wrapper
impl Eq for Wrapper
impl StructuralPartialEq for Wrapper
Auto Trait Implementations§
impl Freeze for Wrapper
impl RefUnwindSafe for Wrapper
impl Send for Wrapper
impl Sync for Wrapper
impl Unpin for Wrapper
impl UnsafeUnpin for Wrapper
impl UnwindSafe for Wrapper
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