pub struct PropertyValue<'a> {
pub property: Id,
pub value: Value<'a>,
}Expand description
A property-value pair that can be attached to an object.
Fields§
§property: IdThe property ID this value is for.
value: Value<'a>The value.
Trait Implementations§
Source§impl<'a> Clone for PropertyValue<'a>
impl<'a> Clone for PropertyValue<'a>
Source§fn clone(&self) -> PropertyValue<'a>
fn clone(&self) -> PropertyValue<'a>
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<'a> Debug for PropertyValue<'a>
impl<'a> Debug for PropertyValue<'a>
Source§impl<'a> PartialEq for PropertyValue<'a>
impl<'a> PartialEq for PropertyValue<'a>
impl<'a> StructuralPartialEq for PropertyValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for PropertyValue<'a>
impl<'a> RefUnwindSafe for PropertyValue<'a>
impl<'a> Send for PropertyValue<'a>
impl<'a> Sync for PropertyValue<'a>
impl<'a> Unpin for PropertyValue<'a>
impl<'a> UnwindSafe for PropertyValue<'a>
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