pub enum CustomDataValue {
String(String),
Binary(Vec<u8>),
}Expand description
Value of a CustomDataItem
Variants§
Trait Implementations§
Source§impl Clone for CustomDataValue
impl Clone for CustomDataValue
Source§fn clone(&self) -> CustomDataValue
fn clone(&self) -> CustomDataValue
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 CustomDataValue
impl Debug for CustomDataValue
impl Eq for CustomDataValue
Source§impl PartialEq for CustomDataValue
impl PartialEq for CustomDataValue
Source§impl Serialize for CustomDataValue
impl Serialize for CustomDataValue
impl StructuralPartialEq for CustomDataValue
Auto Trait Implementations§
impl Freeze for CustomDataValue
impl RefUnwindSafe for CustomDataValue
impl Send for CustomDataValue
impl Sync for CustomDataValue
impl Unpin for CustomDataValue
impl UnsafeUnpin for CustomDataValue
impl UnwindSafe for CustomDataValue
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