Enum boreal_parser::rule::MetadataValue
source · pub enum MetadataValue {
Bytes(Vec<u8>),
Integer(i64),
Boolean(bool),
}Expand description
Value associated with a metadata key.
Variants§
Trait Implementations§
source§impl Clone for MetadataValue
impl Clone for MetadataValue
source§fn clone(&self) -> MetadataValue
fn clone(&self) -> MetadataValue
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 moresource§impl Debug for MetadataValue
impl Debug for MetadataValue
source§impl PartialEq for MetadataValue
impl PartialEq for MetadataValue
source§fn eq(&self, other: &MetadataValue) -> bool
fn eq(&self, other: &MetadataValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for MetadataValue
impl StructuralPartialEq for MetadataValue
Auto Trait Implementations§
impl RefUnwindSafe for MetadataValue
impl Send for MetadataValue
impl Sync for MetadataValue
impl Unpin for MetadataValue
impl UnwindSafe for MetadataValue
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