pub enum ChangeType {
Changed = 0,
Added = 1,
Removed = 2,
}Expand description
ChangeTypeEnum (§9.10.5.1).
A list attribute’s entry is identified by its index — §10.6.4.3.1 edits by index — so a whole-list write is compared position by position: a position present before and after was changed, one only in the new list added, one only in the old list removed. A replace is not a wipe and a refill, and reporting it as one tells a controller it has lost entries it still has.
Variants§
Changed = 0
0 — “Entry or extension was changed”.
Added = 1
1 — “Entry or extension was added”.
Removed = 2
2 — “Entry or extension was removed”.
Trait Implementations§
Source§impl Clone for ChangeType
impl Clone for ChangeType
impl Copy for ChangeType
Source§impl Debug for ChangeType
impl Debug for ChangeType
impl Eq for ChangeType
Source§impl Hash for ChangeType
impl Hash for ChangeType
Source§impl PartialEq for ChangeType
impl PartialEq for ChangeType
impl StructuralPartialEq for ChangeType
Auto Trait Implementations§
impl Forget for ChangeType
impl Freeze for ChangeType
impl Move for ChangeType
impl RefUnwindSafe for ChangeType
impl Send for ChangeType
impl Sync for ChangeType
impl Unpin for ChangeType
impl UnsafeUnpin for ChangeType
impl UnwindSafe for ChangeType
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