pub enum ExtValue {
Text(String),
Integer(i64),
Boolean(bool),
Timestamp(Timestamp),
Date(NaiveDate),
Enum(String),
Reference(RecordId),
List(Vec<ExtValue>),
Redacted,
}Expand description
A typed extension value.
Variants§
Text(String)
Integer(i64)
Boolean(bool)
Timestamp(Timestamp)
Date(NaiveDate)
Enum(String)
One of the values listed in the field’s FieldType::Enum.
Reference(RecordId)
List(Vec<ExtValue>)
Redacted
The value was redacted; see ADR 0006.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExtValue
impl<'de> Deserialize<'de> for ExtValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ExtValue
Auto Trait Implementations§
impl Freeze for ExtValue
impl RefUnwindSafe for ExtValue
impl Send for ExtValue
impl Sync for ExtValue
impl Unpin for ExtValue
impl UnsafeUnpin for ExtValue
impl UnwindSafe for ExtValue
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