pub struct PropChange {
pub name: String,
pub value: Option<Vec<u8>>,
}Expand description
Represents a property change in the working copy
A property change consists of a property name and an optional value. If the value is None, it indicates the property has been deleted.
Fields§
§name: StringThe name of the property
value: Option<Vec<u8>>The new value of the property, or None if deleted
Trait Implementations§
Source§impl Clone for PropChange
impl Clone for PropChange
Source§fn clone(&self) -> PropChange
fn clone(&self) -> PropChange
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 PropChange
impl Debug for PropChange
Source§impl PartialEq for PropChange
impl PartialEq for PropChange
impl Eq for PropChange
impl StructuralPartialEq for PropChange
Auto Trait Implementations§
impl Freeze for PropChange
impl RefUnwindSafe for PropChange
impl Send for PropChange
impl Sync for PropChange
impl Unpin for PropChange
impl UnsafeUnpin for PropChange
impl UnwindSafe for PropChange
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