pub enum InsertValue {
Value(Value),
Default,
}Variants§
Trait Implementations§
Source§impl Clone for InsertValue
impl Clone for InsertValue
Source§fn clone(&self) -> InsertValue
fn clone(&self) -> InsertValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InsertValue
impl Debug for InsertValue
Source§impl<T: Into<Value>> From<Defaultable<T>> for InsertValue
impl<T: Into<Value>> From<Defaultable<T>> for InsertValue
Source§fn from(d: Defaultable<T>) -> Self
fn from(d: Defaultable<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InsertValue
impl RefUnwindSafe for InsertValue
impl Send for InsertValue
impl Sync for InsertValue
impl Unpin for InsertValue
impl UnsafeUnpin for InsertValue
impl UnwindSafe for InsertValue
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