pub enum MetadataElement {
Positive(u64),
Negative(n64),
Bytes(Bytes),
Text(String),
Array(MetadataElements),
Map(MetadataElementsMap),
}
Variants§
Positive(u64)
Negative(n64)
Bytes(Bytes)
Text(String)
Array(MetadataElements)
Map(MetadataElementsMap)
Trait Implementations§
Source§impl Clone for MetadataElement
impl Clone for MetadataElement
Source§fn clone(&self) -> MetadataElement
fn clone(&self) -> MetadataElement
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 MetadataElement
impl Debug for MetadataElement
Source§impl Decode for MetadataElement
impl Decode for MetadataElement
Source§impl Ord for MetadataElement
impl Ord for MetadataElement
Source§fn cmp(&self, other: &MetadataElement) -> Ordering
fn cmp(&self, other: &MetadataElement) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MetadataElement
impl PartialEq for MetadataElement
Source§impl PartialOrd for MetadataElement
impl PartialOrd for MetadataElement
impl Eq for MetadataElement
impl StructuralPartialEq for MetadataElement
Auto Trait Implementations§
impl Freeze for MetadataElement
impl RefUnwindSafe for MetadataElement
impl Send for MetadataElement
impl Sync for MetadataElement
impl Unpin for MetadataElement
impl UnwindSafe for MetadataElement
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