pub struct RequestEventId(/* private fields */);Expand description
The digest identity of one exact commit-hook request event.
Implementations§
Source§impl RequestEventId
impl RequestEventId
Sourcepub fn derive(transaction: TransactionId, hook: HookId, scope_tag: u8) -> Self
pub fn derive(transaction: TransactionId, hook: HookId, scope_tag: u8) -> Self
Bind an event to one transaction, hook, and configured scope.
Trait Implementations§
Source§impl Clone for RequestEventId
impl Clone for RequestEventId
Source§fn clone(&self) -> RequestEventId
fn clone(&self) -> RequestEventId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestEventId
Source§impl Debug for RequestEventId
impl Debug for RequestEventId
Source§impl Display for RequestEventId
impl Display for RequestEventId
impl Eq for RequestEventId
Source§impl FromStr for RequestEventId
impl FromStr for RequestEventId
Source§impl Hash for RequestEventId
impl Hash for RequestEventId
Source§impl Ord for RequestEventId
impl Ord for RequestEventId
Source§fn cmp(&self, other: &RequestEventId) -> Ordering
fn cmp(&self, other: &RequestEventId) -> Ordering
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 PartialEq for RequestEventId
impl PartialEq for RequestEventId
Source§impl PartialOrd for RequestEventId
impl PartialOrd for RequestEventId
impl StructuralPartialEq for RequestEventId
Auto Trait Implementations§
impl Freeze for RequestEventId
impl RefUnwindSafe for RequestEventId
impl Send for RequestEventId
impl Sync for RequestEventId
impl Unpin for RequestEventId
impl UnsafeUnpin for RequestEventId
impl UnwindSafe for RequestEventId
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