Enum libreda_db::property_storage::PropertyValue
source · [−]Expand description
Property value type. Properties can hold different types that are encapsulated in this enum.
Variants
String(RcString)
Property is a string.
Bytes(Vec<u8>)
Property is a byte string.
SInt(i32)
Property is a signed integer.
UInt(u32)
Property is an unsigned integer.
Float(f64)
Property is a float.
Implementations
sourceimpl PropertyValue
impl PropertyValue
Trait Implementations
sourceimpl Clone for PropertyValue
impl Clone for PropertyValue
sourcefn clone(&self) -> PropertyValue
fn clone(&self) -> PropertyValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PropertyValue
impl Debug for PropertyValue
sourceimpl From<&'_ Arc<String>> for PropertyValue
impl From<&'_ Arc<String>> for PropertyValue
sourceimpl From<Arc<String>> for PropertyValue
impl From<Arc<String>> for PropertyValue
sourceimpl<'a> TryInto<&'a str> for &'a PropertyValue
impl<'a> TryInto<&'a str> for &'a PropertyValue
Auto Trait Implementations
impl RefUnwindSafe for PropertyValue
impl Send for PropertyValue
impl Sync for PropertyValue
impl Unpin for PropertyValue
impl UnwindSafe for PropertyValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more