pub struct ParticipantId(pub u32);Expand description
Caller-supplied participant identifier. Zero is a valid participant.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for ParticipantId
impl Clone for ParticipantId
impl Copy for ParticipantId
Source§impl Debug for ParticipantId
impl Debug for ParticipantId
impl Eq for ParticipantId
Source§impl Hash for ParticipantId
impl Hash for ParticipantId
Source§impl Ord for ParticipantId
impl Ord for ParticipantId
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 ParticipantId
impl PartialEq for ParticipantId
Source§impl PartialOrd for ParticipantId
impl PartialOrd for ParticipantId
impl StructuralPartialEq for ParticipantId
Auto Trait Implementations§
impl Forget for ParticipantId
impl Freeze for ParticipantId
impl Move for ParticipantId
impl RefUnwindSafe for ParticipantId
impl Send for ParticipantId
impl Sync for ParticipantId
impl Unpin for ParticipantId
impl UnsafeUnpin for ParticipantId
impl UnwindSafe for ParticipantId
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