pub struct JobClaimId(/* private fields */);Expand description
Capability identifying one active job claim.
Implementations§
Source§impl JobClaimId
impl JobClaimId
Sourcepub const fn from_bytes(bytes: [u8; 16]) -> Self
pub const fn from_bytes(bytes: [u8; 16]) -> Self
Creates an identity from its stable 16-byte representation.
Sourcepub const fn into_bytes(self) -> [u8; 16]
pub const fn into_bytes(self) -> [u8; 16]
Returns the stable 16-byte representation.
Trait Implementations§
Source§impl Clone for JobClaimId
impl Clone for JobClaimId
Source§fn clone(&self) -> JobClaimId
fn clone(&self) -> JobClaimId
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 JobClaimId
Source§impl Debug for JobClaimId
impl Debug for JobClaimId
Source§impl Default for JobClaimId
impl Default for JobClaimId
Source§impl Display for JobClaimId
impl Display for JobClaimId
impl Eq for JobClaimId
Source§impl FromStr for JobClaimId
impl FromStr for JobClaimId
Source§impl Hash for JobClaimId
impl Hash for JobClaimId
Source§impl Ord for JobClaimId
impl Ord for JobClaimId
Source§fn cmp(&self, other: &JobClaimId) -> Ordering
fn cmp(&self, other: &JobClaimId) -> 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
Source§impl PartialEq for JobClaimId
impl PartialEq for JobClaimId
Source§impl PartialOrd for JobClaimId
impl PartialOrd for JobClaimId
impl StructuralPartialEq for JobClaimId
Auto Trait Implementations§
impl Freeze for JobClaimId
impl RefUnwindSafe for JobClaimId
impl Send for JobClaimId
impl Sync for JobClaimId
impl Unpin for JobClaimId
impl UnsafeUnpin for JobClaimId
impl UnwindSafe for JobClaimId
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