pub struct PropertyValue<S> {
pub value: Option<S>,
}Fields§
§value: Option<S>Trait Implementations§
Source§impl<S: Clone> Clone for PropertyValue<S>
impl<S: Clone> Clone for PropertyValue<S>
Source§fn clone(&self) -> PropertyValue<S>
fn clone(&self) -> PropertyValue<S>
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<S: Display> Display for PropertyValue<S>
impl<S: Display> Display for PropertyValue<S>
Source§impl From<PropertyValue<&str>> for EditableDocument<PropertyValue<String>>
impl From<PropertyValue<&str>> for EditableDocument<PropertyValue<String>>
Source§fn from(prop: PropertyValue<&str>) -> Self
fn from(prop: PropertyValue<&str>) -> Self
Converts to this type from the input type.
Source§impl From<PropertyValue<&str>> for PropertyValue<String>
impl From<PropertyValue<&str>> for PropertyValue<String>
Source§fn from(prop: PropertyValue<&str>) -> Self
fn from(prop: PropertyValue<&str>) -> Self
Converts to this type from the input type.
Source§impl<S> From<PropertyValue<S>> for EditableDocument<PropertyValue<S>>
impl<S> From<PropertyValue<S>> for EditableDocument<PropertyValue<S>>
Source§fn from(property_value: PropertyValue<S>) -> Self
fn from(property_value: PropertyValue<S>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<S> Freeze for PropertyValue<S>where
S: Freeze,
impl<S> RefUnwindSafe for PropertyValue<S>where
S: RefUnwindSafe,
impl<S> Send for PropertyValue<S>where
S: Send,
impl<S> Sync for PropertyValue<S>where
S: Sync,
impl<S> Unpin for PropertyValue<S>where
S: Unpin,
impl<S> UnwindSafe for PropertyValue<S>where
S: UnwindSafe,
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