pub struct Added<T> {
pub value: T,
}Expand description
A value that was added to a structural diff.
Fields§
§value: TAdded value.
Trait Implementations§
impl<T: Eq> Eq for Added<T>
impl<T: PartialEq> StructuralPartialEq for Added<T>
Auto Trait Implementations§
impl<T> Freeze for Added<T>where
T: Freeze,
impl<T> RefUnwindSafe for Added<T>where
T: RefUnwindSafe,
impl<T> Send for Added<T>where
T: Send,
impl<T> Sync for Added<T>where
T: Sync,
impl<T> Unpin for Added<T>where
T: Unpin,
impl<T> UnsafeUnpin for Added<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Added<T>where
T: 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