pub enum MetadataValue {
String(String),
Integer(i64),
Unsigned(u64),
Float(f64),
Boolean(bool),
}Expand description
A generic metadata value for the extensible key/value store.
Used both for metadata extensions and for event payloads. The Engine does not interpret these values.
Variants§
String(String)
A string value.
Integer(i64)
A signed integer value.
Unsigned(u64)
An unsigned integer value.
Float(f64)
A floating-point value.
Boolean(bool)
A boolean value.
Trait Implementations§
Source§impl Clone for MetadataValue
impl Clone for MetadataValue
Source§impl Debug for MetadataValue
impl Debug for MetadataValue
Source§impl PartialEq for MetadataValue
impl PartialEq for MetadataValue
impl StructuralPartialEq for MetadataValue
Auto Trait Implementations§
impl Freeze for MetadataValue
impl RefUnwindSafe for MetadataValue
impl Send for MetadataValue
impl Sync for MetadataValue
impl Unpin for MetadataValue
impl UnsafeUnpin 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