Enum hit_data::ObjectValue
source · pub enum ObjectValue {
Bool(bool),
String(String),
VecString(Vec<String>),
F32(f32),
I32(i32),
Date(DateTimeUtc),
Reference(Reference),
VecReference(Vec<Reference>),
SubObject(Reference),
VecSubObjects(Vec<Reference>),
Null,
}
Variants§
Bool(bool)
String(String)
VecString(Vec<String>)
F32(f32)
I32(i32)
Date(DateTimeUtc)
Reference(Reference)
VecReference(Vec<Reference>)
SubObject(Reference)
VecSubObjects(Vec<Reference>)
Null
Trait Implementations§
source§impl Clone for ObjectValue
impl Clone for ObjectValue
source§fn clone(&self) -> ObjectValue
fn clone(&self) -> ObjectValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObjectValue
impl Debug for ObjectValue
source§impl<'de> Deserialize<'de> for ObjectValue
impl<'de> Deserialize<'de> for ObjectValue
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
source§impl PartialEq for ObjectValue
impl PartialEq for ObjectValue
source§fn eq(&self, other: &ObjectValue) -> bool
fn eq(&self, other: &ObjectValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ObjectValue
impl Serialize for ObjectValue
impl StructuralPartialEq for ObjectValue
Auto Trait Implementations§
impl RefUnwindSafe for ObjectValue
impl Send for ObjectValue
impl Sync for ObjectValue
impl Unpin for ObjectValue
impl UnwindSafe for ObjectValue
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