pub enum FieldType {
Str,
Int,
Float,
Bool,
ListOfStr,
Object(Rc<Schema>),
ListOfObject(Rc<Schema>),
}Variants§
Str
Int
Float
Bool
ListOfStr
Object(Rc<Schema>)
Another declared type, nested inline. Shared rather than copied since the same nested schema is rebuilt on every recursive field lookup.
ListOfObject(Rc<Schema>)
list[T] where T is a declared type, not str.
Trait Implementations§
Auto Trait Implementations§
impl !Send for FieldType
impl !Sync for FieldType
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Unpin for FieldType
impl UnsafeUnpin for FieldType
impl UnwindSafe for FieldType
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