pub enum Type {
}
Expand description
Enum of valid types.
Variants§
I8
I8 type.
I16
I16 type.
I32
I32 type.
I64
I64 type.
U8
u8 type.
U16
u16 type.
U32
u32 type.
U64
u64 type.
F32
f32 type.
F64
f64 type.
Bool
Boolean type.
String
String type.
Datetime
Date type.
Bytes
Raw bytes.
Named(String)
A reference to another type.
List
A list type
Optional
A type representing an optional value.
Map
A HashMap-like type.
Link
👎Deprecated: Links are deprecated, use the require/provides interface instead.
A type representing a link to another collection.
Fields
Object
A JSON-like key/value map.
AnonymousStruct(Vec<Field>)
An inline, anonymous struct interface.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
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 Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.