pub enum ObjType {
Map,
Table,
List,
Text,
}
Expand description
The type of an object
Variants§
Map
A map
Table
Retained for backwards compatibility, tables are identical to maps
List
A sequence of arbitrary values
Text
A sequence of characters
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ObjType
impl<'de> Deserialize<'de> for ObjType
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 ObjType
impl PartialEq for ObjType
impl Copy for ObjType
impl Eq for ObjType
impl StructuralPartialEq for ObjType
Auto Trait Implementations§
impl Freeze for ObjType
impl RefUnwindSafe for ObjType
impl Send for ObjType
impl Sync for ObjType
impl Unpin for ObjType
impl UnwindSafe for ObjType
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