pub enum StorageValue {
Bool(bool),
I64(i64),
F64(f64),
Text(String),
Bytes(Vec<u8>),
}Expand description
An exact value at the provider boundary.
Variants§
Bool(bool)
Boolean value.
I64(i64)
Signed integer value.
F64(f64)
Finite float value (negative zero is normalized).
Text(String)
Text value.
Bytes(Vec<u8>)
Byte value.
Trait Implementations§
Source§impl Clone for StorageValue
impl Clone for StorageValue
Source§fn clone(&self) -> StorageValue
fn clone(&self) -> StorageValue
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 StorageValue
impl Debug for StorageValue
Source§impl PartialEq for StorageValue
impl PartialEq for StorageValue
impl StructuralPartialEq for StorageValue
Auto Trait Implementations§
impl Freeze for StorageValue
impl RefUnwindSafe for StorageValue
impl Send for StorageValue
impl Sync for StorageValue
impl Unpin for StorageValue
impl UnsafeUnpin for StorageValue
impl UnwindSafe for StorageValue
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