pub enum LiteralDefault {
Nat(u128),
Int(i128),
Bool(bool),
Text(&'static str),
Blob(&'static [u8]),
}Expand description
A compiled literal used only when an insert input omits its field. These are schema constants, not a dynamic query or mutation value model.
Variants§
Nat(u128)
Exact unsigned integer literal; must fit the declared unsigned width.
Int(i128)
Exact signed integer literal; must fit the declared signed width.
Bool(bool)
Boolean literal.
Text(&'static str)
UTF-8 text within the declared byte limit.
Blob(&'static [u8])
Raw bytes within the declared Blob byte limit.
Trait Implementations§
Source§impl Debug for LiteralDefault
impl Debug for LiteralDefault
impl Eq for LiteralDefault
Source§impl PartialEq for LiteralDefault
impl PartialEq for LiteralDefault
impl StructuralPartialEq for LiteralDefault
Auto Trait Implementations§
impl Forget for LiteralDefault
impl Freeze for LiteralDefault
impl Move for LiteralDefault
impl RefUnwindSafe for LiteralDefault
impl Send for LiteralDefault
impl Sync for LiteralDefault
impl Unpin for LiteralDefault
impl UnsafeUnpin for LiteralDefault
impl UnwindSafe for LiteralDefault
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