pub struct ItemChanges<V> {
pub added: VecMap<String, V>,
pub removed: VecMap<String, V>,
pub changed: VecMap<String, V>,
}Expand description
The items, by id, that differ between two id-sorted lists of shared values: sources or images.
Fields§
§added: VecMap<String, V>Only in the new list, or in both as another kind (a source of another type).
removed: VecMap<String, V>Only in the old list, or in both as another kind.
changed: VecMap<String, V>The new values of the items in both whose values differ.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> Forget for ItemChanges<V>
impl<V> Freeze for ItemChanges<V>
impl<V> Move for ItemChanges<V>
impl<V> RefUnwindSafe for ItemChanges<V>where
V: RefUnwindSafe,
impl<V> Send for ItemChanges<V>
impl<V> Sync for ItemChanges<V>
impl<V> Unpin for ItemChanges<V>
impl<V> UnsafeUnpin for ItemChanges<V>where
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<V>: UnsafeUnpin,
impl<V> UnwindSafe for ItemChanges<V>where
RawVecInner: UnwindSafe,
V: 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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more