Enum convey_rs::property::PropertyValue
source · pub enum PropertyValue {
Show 17 variants
Bool(u8),
Int8(i8),
Int(i32),
UInt32(u32),
Int64(i64),
UInt64(u64),
Float(f32),
Double(f64),
String(String),
Object(ObjectReference),
Enum(HashMap<String, String>),
Byte(ByteProperty),
Text(TextProperty),
Array(ArrayProperty),
Map(MapProperty),
Set(SetProperty),
Struct((String, StructPropertyValue)),
}Variants§
Bool(u8)
Int8(i8)
Int(i32)
UInt32(u32)
Int64(i64)
UInt64(u64)
Float(f32)
Double(f64)
String(String)
Object(ObjectReference)
Enum(HashMap<String, String>)
Byte(ByteProperty)
Text(TextProperty)
Array(ArrayProperty)
Map(MapProperty)
Set(SetProperty)
Struct((String, StructPropertyValue))
Trait Implementations§
source§impl Clone for PropertyValue
impl Clone for PropertyValue
source§fn clone(&self) -> PropertyValue
fn clone(&self) -> PropertyValue
Returns a copy of the value. Read more
1.0.0 · 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 PropertyValue
impl Debug for PropertyValue
source§impl<'de> Deserialize<'de> for PropertyValue
impl<'de> Deserialize<'de> for PropertyValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for PropertyValue
impl FromStr for PropertyValue
source§impl Serialize for PropertyValue
impl Serialize for PropertyValue
Auto Trait Implementations§
impl Freeze for PropertyValue
impl RefUnwindSafe for PropertyValue
impl Send for PropertyValue
impl Sync for PropertyValue
impl Unpin for PropertyValue
impl UnwindSafe for PropertyValue
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