pub enum Destructured {
Null,
Bool(bool),
Number(VNumber),
String(VString),
Bytes(VBytes),
Array(VArray),
Object(VObject),
DateTime(VDateTime),
QName(VQName),
Uuid(VUuid),
}Expand description
Enum for destructuring a Value by ownership.
Variants§
Null
Null value
Bool(bool)
Boolean value
Number(VNumber)
Number value
String(VString)
String value
Bytes(VBytes)
Bytes value
Array(VArray)
Array value
Object(VObject)
Object value
DateTime(VDateTime)
DateTime value
QName(VQName)
Qualified name value
Uuid(VUuid)
UUID value
Trait Implementations§
Source§impl Clone for Destructured
impl Clone for Destructured
Source§fn clone(&self) -> Destructured
fn clone(&self) -> Destructured
Returns a duplicate of the value. Read more
1.0.0 · 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 Destructured
impl Debug for Destructured
Source§impl PartialEq for Destructured
impl PartialEq for Destructured
impl StructuralPartialEq for Destructured
Auto Trait Implementations§
impl Freeze for Destructured
impl RefUnwindSafe for Destructured
impl Send for Destructured
impl Sync for Destructured
impl Unpin for Destructured
impl UnwindSafe for Destructured
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