pub enum Type {
}Expand description
SIF type as declared in a #schema directive.
Types compose via suffixes: str[]? → Nullable(Array(Str)).
Suffixes are applied left-to-right per §7.1.
Variants§
Bool
Int
Uint
Float
Str
Date
DateTime
Duration
Bytes
Enum(Vec<String>)
Null
Any
Map
Array(Box<Type>)
Nullable(Box<Type>)
Implementations§
Trait Implementations§
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 UnsafeUnpin 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