pub enum WireType {
Number,
Integer,
Bool,
String,
Named(String),
Array(Box<WireType>),
}Available on crate feature
schema only.Expand description
Wire type of one schema property (nullability dropped: every field is optional).
Variants§
Number
JSON number.
Integer
JSON integer.
Bool
JSON boolean.
String
JSON string, string enum included.
Named(String)
A named object / union type shared with the hand-written support code.
Array(Box<WireType>)
Array of a wire type.
Trait Implementations§
impl Eq for WireType
impl StructuralPartialEq for WireType
Auto Trait Implementations§
impl Forget for WireType
impl Freeze for WireType
impl Move for WireType
impl RefUnwindSafe for WireType
impl Send for WireType
impl Sync for WireType
impl Unpin for WireType
impl UnsafeUnpin for WireType
impl UnwindSafe for WireType
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.