pub struct Relation<S: Supervisor> {
pub id: ActivityId,
pub group: S::GroupBy,
}Fields§
§id: ActivityId§group: S::GroupByTrait Implementations§
Source§impl<S: Supervisor> Clone for Relation<S>
impl<S: Supervisor> Clone for Relation<S>
Source§impl<S: Supervisor> Hash for Relation<S>
impl<S: Supervisor> Hash for Relation<S>
Source§impl<S: Supervisor> Ord for Relation<S>
impl<S: Supervisor> Ord for Relation<S>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<S: Supervisor> PartialEq for Relation<S>
impl<S: Supervisor> PartialEq for Relation<S>
Source§impl<S: Supervisor> PartialOrd for Relation<S>
impl<S: Supervisor> PartialOrd for Relation<S>
impl<S: Supervisor> Eq for Relation<S>
Auto Trait Implementations§
impl<S> Freeze for Relation<S>
impl<S> RefUnwindSafe for Relation<S>
impl<S> Send for Relation<S>
impl<S> Sync for Relation<S>
impl<S> Unpin for Relation<S>
impl<S> UnsafeUnpin for Relation<S>
impl<S> UnwindSafe for Relation<S>
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