pub struct AggregateItem<T> { /* private fields */ }Expand description
An item that is added to or removed from a continuous aggregation (AggregateItem<TObject>).
Equality and hashing are those of the type and the item (upstream’s IEquatable).
Implementations§
Source§impl<T> AggregateItem<T>
impl<T> AggregateItem<T>
Sourcepub fn new(aggregate_type: AggregateType, item: T) -> Self
pub fn new(aggregate_type: AggregateType, item: T) -> Self
An item of aggregate_type (AggregateItem(AggregateType, TObject)).
Sourcepub fn aggregate_type(&self) -> AggregateType
pub fn aggregate_type(&self) -> AggregateType
Whether the item is added or removed (Type).
Trait Implementations§
Source§impl<T: Clone> Clone for AggregateItem<T>
impl<T: Clone> Clone for AggregateItem<T>
Source§impl<T: Debug> Debug for AggregateItem<T>
impl<T: Debug> Debug for AggregateItem<T>
impl<T: Eq> Eq for AggregateItem<T>
Source§impl<T: Hash> Hash for AggregateItem<T>
impl<T: Hash> Hash for AggregateItem<T>
Source§impl<T: PartialEq> PartialEq for AggregateItem<T>
impl<T: PartialEq> PartialEq for AggregateItem<T>
impl<T: PartialEq> StructuralPartialEq for AggregateItem<T>
Auto Trait Implementations§
impl<T> Freeze for AggregateItem<T>where
T: Freeze,
impl<T> RefUnwindSafe for AggregateItem<T>where
T: RefUnwindSafe,
impl<T> Send for AggregateItem<T>where
T: Send,
impl<T> Sync for AggregateItem<T>where
T: Sync,
impl<T> Unpin for AggregateItem<T>where
T: Unpin,
impl<T> UnsafeUnpin for AggregateItem<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AggregateItem<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