pub struct PropDelta {
pub name: String,
pub value: Option<Vec<u8>>,
}Expand description
A single property delta entry (name + new value).
value == None represents deletion of the property.
Fields§
§name: StringProperty name.
value: Option<Vec<u8>>New property value (raw bytes), or None to delete.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PropDelta
impl<'de> Deserialize<'de> for PropDelta
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
impl Eq for PropDelta
impl StructuralPartialEq for PropDelta
Auto Trait Implementations§
impl Freeze for PropDelta
impl RefUnwindSafe for PropDelta
impl Send for PropDelta
impl Sync for PropDelta
impl Unpin for PropDelta
impl UnwindSafe for PropDelta
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