pub enum MetadataKind {
Bool,
Int,
Float,
String,
Array,
Rational,
Blob,
}Expand description
Declared metadata type for schema entries.
Variants§
Bool
Boolean value.
Int
Integer value.
Float
Floating point value.
String
String value.
Array
Array value.
Rational
Rational value.
Blob
Binary blob value.
Trait Implementations§
Source§impl Clone for MetadataKind
impl Clone for MetadataKind
Source§fn clone(&self) -> MetadataKind
fn clone(&self) -> MetadataKind
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 MetadataKind
impl Debug for MetadataKind
Source§impl PartialEq for MetadataKind
impl PartialEq for MetadataKind
Source§fn eq(&self, other: &MetadataKind) -> bool
fn eq(&self, other: &MetadataKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MetadataKind
impl Eq for MetadataKind
impl StructuralPartialEq for MetadataKind
Auto Trait Implementations§
impl Freeze for MetadataKind
impl RefUnwindSafe for MetadataKind
impl Send for MetadataKind
impl Sync for MetadataKind
impl Unpin for MetadataKind
impl UnsafeUnpin for MetadataKind
impl UnwindSafe for MetadataKind
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