pub enum StorageValue {
Null,
Integer(i64),
Real(f64),
Text(String),
Blob(Vec<u8>),
}Variants§
Implementations§
Source§impl StorageValue
impl StorageValue
pub fn as_ref(&self) -> StorageValueRef<'_>
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
Source§fn eq(&self, other: &StorageValue) -> bool
fn eq(&self, other: &StorageValue) -> bool
Tests for
self and other values to be equal, and is used by ==.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