pub enum ValueMetadata {
Quantity(QuantityMetadata),
}Expand description
Copper-owned logical metadata attached to a value’s schema.
Variants§
Quantity(QuantityMetadata)
Physical quantity and its actual encoded storage unit.
Implementations§
Trait Implementations§
Source§impl Clone for ValueMetadata
impl Clone for ValueMetadata
Source§fn clone(&self) -> ValueMetadata
fn clone(&self) -> ValueMetadata
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 moreimpl Copy for ValueMetadata
Source§impl Debug for ValueMetadata
impl Debug for ValueMetadata
Source§impl Encode for ValueMetadata
impl Encode for ValueMetadata
impl Eq for ValueMetadata
Source§impl PartialEq for ValueMetadata
impl PartialEq for ValueMetadata
impl StructuralPartialEq for ValueMetadata
Auto Trait Implementations§
impl Freeze for ValueMetadata
impl RefUnwindSafe for ValueMetadata
impl Send for ValueMetadata
impl Sync for ValueMetadata
impl Unpin for ValueMetadata
impl UnsafeUnpin for ValueMetadata
impl UnwindSafe for ValueMetadata
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