pub enum PropValue {
Number(i64),
String(String),
}
Expand description
All possible types that can be stored inside an Object
.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PropValue
impl<'de> Deserialize<'de> for PropValue
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<PropValue> for PropValue
impl PartialEq<PropValue> for PropValue
impl Eq for PropValue
impl StructuralEq for PropValue
impl StructuralPartialEq for PropValue
Auto Trait Implementations§
impl RefUnwindSafe for PropValue
impl Send for PropValue
impl Sync for PropValue
impl Unpin for PropValue
impl UnwindSafe for PropValue
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