pub struct StringPropertyValue {
pub kind: PropertyValueKind,
pub data: String,
}Fields§
§kind: PropertyValueKind§data: StringThe data of the property value.
Implementations§
Source§impl StringPropertyValue
impl StringPropertyValue
pub fn new(kind: PropertyValueKind, data: String) -> StringPropertyValue
Trait Implementations§
Source§impl Clone for StringPropertyValue
impl Clone for StringPropertyValue
Source§impl Debug for StringPropertyValue
impl Debug for StringPropertyValue
Source§impl Default for StringPropertyValue
impl Default for StringPropertyValue
Source§impl<'de> Deserialize<'de> for StringPropertyValue
impl<'de> Deserialize<'de> for StringPropertyValue
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 StringPropertyValue
impl PartialEq for StringPropertyValue
Source§impl Serialize for StringPropertyValue
impl Serialize for StringPropertyValue
impl StructuralPartialEq for StringPropertyValue
Auto Trait Implementations§
impl Freeze for StringPropertyValue
impl RefUnwindSafe for StringPropertyValue
impl Send for StringPropertyValue
impl Sync for StringPropertyValue
impl Unpin for StringPropertyValue
impl UnsafeUnpin for StringPropertyValue
impl UnwindSafe for StringPropertyValue
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