pub struct CustomPropertyValue {
pub property_name: String,
pub value: Option<Box<CustomPropertyValueValue>>,
}
Expand description
CustomPropertyValue : Custom property name and associated value
Fields§
§property_name: String
The name of the property
value: Option<Box<CustomPropertyValueValue>>
Implementations§
Source§impl CustomPropertyValue
impl CustomPropertyValue
Sourcepub fn new(
property_name: String,
value: Option<CustomPropertyValueValue>,
) -> CustomPropertyValue
pub fn new( property_name: String, value: Option<CustomPropertyValueValue>, ) -> CustomPropertyValue
Custom property name and associated value
Trait Implementations§
Source§impl Clone for CustomPropertyValue
impl Clone for CustomPropertyValue
Source§fn clone(&self) -> CustomPropertyValue
fn clone(&self) -> CustomPropertyValue
Returns a duplicate 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 CustomPropertyValue
impl Debug for CustomPropertyValue
Source§impl Default for CustomPropertyValue
impl Default for CustomPropertyValue
Source§fn default() -> CustomPropertyValue
fn default() -> CustomPropertyValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomPropertyValue
impl<'de> Deserialize<'de> for CustomPropertyValue
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 PartialEq for CustomPropertyValue
impl PartialEq for CustomPropertyValue
Source§impl Serialize for CustomPropertyValue
impl Serialize for CustomPropertyValue
impl StructuralPartialEq for CustomPropertyValue
Auto Trait Implementations§
impl Freeze for CustomPropertyValue
impl RefUnwindSafe for CustomPropertyValue
impl Send for CustomPropertyValue
impl Sync for CustomPropertyValue
impl Unpin for CustomPropertyValue
impl UnwindSafe for CustomPropertyValue
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