Enum libreda_db::property_storage::PropertyValue [−][src]
Expand description
Property value type. Properties can hold different types that are encapsulated in this enum.
Variants
String(RcString)Property is a string.
Tuple Fields of String
0: RcStringProperty is a byte string.
SInt(i32)Property is a signed integer.
Tuple Fields of SInt
0: i32UInt(u32)Property is an unsigned integer.
Tuple Fields of UInt
0: u32Float(f64)Property is a float.
Tuple Fields of Float
0: f64Implementations
Try to get a string value.
Try to get a &str value. Works for String property values.
Trait Implementations
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
Mutably borrows from an owned value. Read more