pub enum Insert {
Value(TokenStream),
Null,
Default,
}Expand description
What a fresh row stores in one declared field.
Variants§
Value(TokenStream)
An expression over the role’s creation input, now and (for
sessions) token, convertible into the field type with Into.
Null
SQL NULL of the field’s optional type.
Default
Omitted, so the database default applies.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Insert
impl !Sync for Insert
impl Freeze for Insert
impl RefUnwindSafe for Insert
impl Unpin for Insert
impl UnsafeUnpin for Insert
impl UnwindSafe for Insert
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