pub struct BTreeSetDiff<T: Ord + Eq> {
pub added: BTreeSet<T>,
pub removed: BTreeSet<T>,
}
Expand description
The diff struct used to compare two BTreeMap’s
Fields§
§added: BTreeSet<T>
Values that are added
removed: BTreeSet<T>
Values that are removed
Trait Implementations§
Source§impl<T> Clone for BTreeSetDiff<T>
impl<T> Clone for BTreeSetDiff<T>
Source§impl<T> Debug for BTreeSetDiff<T>
impl<T> Debug for BTreeSetDiff<T>
Source§impl<'de, T> Deserialize<'de> for BTreeSetDiff<T>
impl<'de, T> Deserialize<'de> for BTreeSetDiff<T>
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
Source§impl<T> PartialEq for BTreeSetDiff<T>
impl<T> PartialEq for BTreeSetDiff<T>
Auto Trait Implementations§
impl<T> Freeze for BTreeSetDiff<T>
impl<T> RefUnwindSafe for BTreeSetDiff<T>where
T: RefUnwindSafe,
impl<T> Send for BTreeSetDiff<T>where
T: Send,
impl<T> Sync for BTreeSetDiff<T>where
T: Sync,
impl<T> Unpin for BTreeSetDiff<T>
impl<T> UnwindSafe for BTreeSetDiff<T>where
T: RefUnwindSafe,
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