pub enum GroupRef {
Workflow,
Opened(i64),
}Expand description
Which group an event belongs to.
Groups are keyed by the id of the event that opened them, because that is the one identifier every back-reference in the protocol actually points at. Keying by a user-facing name instead (an activity id, say) would need a lookup that can fail, and would merge two genuinely separate schedulings of the same name into one row.
Variants§
Trait Implementations§
impl Copy for GroupRef
impl Eq for GroupRef
Source§impl Ord for GroupRef
impl Ord for GroupRef
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for GroupRef
impl PartialOrd for GroupRef
impl StructuralPartialEq for GroupRef
Auto Trait Implementations§
impl Freeze for GroupRef
impl RefUnwindSafe for GroupRef
impl Send for GroupRef
impl Sync for GroupRef
impl Unpin for GroupRef
impl UnsafeUnpin for GroupRef
impl UnwindSafe for GroupRef
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