pub enum Builtin {
Show 15 variants
Int,
Decimal,
Bool,
Text,
Bytes,
Duration,
Instant,
Unit,
Never,
Json,
List,
Set,
Dict,
Option,
Task,
}Expand description
A built-in encoding form, the head of a Type that names no catalog
declaration.
Variants§
Int
Int.
Decimal
Decimal.
Bool
Bool.
Text
Text.
Bytes
Bytes.
Duration
Duration.
Instant
Instant.
Unit
Unit.
Never
Never.
Json
json.Value.
List
List<T>.
Set
Set<T>.
Dict
Dict<K, V>.
Option
Option<T>.
Task
task.Task<T>.
Implementations§
Trait Implementations§
impl Copy for Builtin
impl Eq for Builtin
impl StructuralPartialEq for Builtin
Auto Trait Implementations§
impl Forget for Builtin
impl Freeze for Builtin
impl Move for Builtin
impl RefUnwindSafe for Builtin
impl Send for Builtin
impl Sync for Builtin
impl Unpin for Builtin
impl UnsafeUnpin for Builtin
impl UnwindSafe for Builtin
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