#[non_exhaustive]pub enum ArtifactValue {
Text(String),
Integer(i64),
UnsignedInt(u64),
Timestamp(String),
Bytes(Vec<u8>),
Bool(bool),
List(Vec<ArtifactValue>),
Map(Vec<(String, ArtifactValue)>),
Null,
}Expand description
A decoded value produced by the catalog’s decode logic. Uses only std types.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Text(String)
Integer(i64)
UnsignedInt(u64)
Timestamp(String)
Bytes(Vec<u8>)
Bool(bool)
List(Vec<ArtifactValue>)
Map(Vec<(String, ArtifactValue)>)
Null
Trait Implementations§
Source§impl Clone for ArtifactValue
impl Clone for ArtifactValue
Source§fn clone(&self) -> ArtifactValue
fn clone(&self) -> ArtifactValue
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 ArtifactValue
impl Debug for ArtifactValue
Source§impl PartialEq for ArtifactValue
impl PartialEq for ArtifactValue
Source§fn eq(&self, other: &ArtifactValue) -> bool
fn eq(&self, other: &ArtifactValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArtifactValue
Auto Trait Implementations§
impl Freeze for ArtifactValue
impl RefUnwindSafe for ArtifactValue
impl Send for ArtifactValue
impl Sync for ArtifactValue
impl Unpin for ArtifactValue
impl UnsafeUnpin for ArtifactValue
impl UnwindSafe for ArtifactValue
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