Struct candid::types::value::VariantValue
source · pub struct VariantValue(pub Box<IDLField>, pub u64);
Available on crate feature
value
only.Tuple Fields§
§0: Box<IDLField>
§1: u64
Trait Implementations§
source§impl Clone for VariantValue
impl Clone for VariantValue
source§fn clone(&self) -> VariantValue
fn clone(&self) -> VariantValue
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for VariantValue
impl RefUnwindSafe for VariantValue
impl Send for VariantValue
impl Sync for VariantValue
impl Unpin for VariantValue
impl UnwindSafe for VariantValue
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