pub enum Attribute {
Null,
Boolean(bool),
Integer(i64),
Decimal(f64),
String(String),
DateTime(DateTime<Utc>),
Uuid(Uuid),
}Expand description
A Dataverse AttributeValue for use in query filters
Please note that this enum is for use in queries only as it is not serializable
Variants§
Null
Indicates a null value
Boolean(bool)
Indicates a boolean value like true or false
Integer(i64)
Indicates a 64-bit signed integer
Decimal(f64)
Indicates a 64-bit floating decimal number
String(String)
Indicates a string of characters
DateTime(DateTime<Utc>)
Indicates a date and time expressed as UTC
Uuid(Uuid)
Indicates an Universally Unique Identifier
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.