pub struct RecoveryDecisionId(/* private fields */);Expand description
An opaque identifier for one append-only recovery decision.
Implementations§
Source§impl RecoveryDecisionId
impl RecoveryDecisionId
Sourcepub fn new(value: u64) -> Result<Self, DomainError>
pub fn new(value: u64) -> Result<Self, DomainError>
Trait Implementations§
Source§impl Clone for RecoveryDecisionId
impl Clone for RecoveryDecisionId
Source§fn clone(&self) -> RecoveryDecisionId
fn clone(&self) -> RecoveryDecisionId
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 RecoveryDecisionId
Source§impl Debug for RecoveryDecisionId
impl Debug for RecoveryDecisionId
Source§impl Display for RecoveryDecisionId
impl Display for RecoveryDecisionId
impl Eq for RecoveryDecisionId
Source§impl From<RecoveryDecisionId> for u64
impl From<RecoveryDecisionId> for u64
Source§fn from(value: RecoveryDecisionId) -> Self
fn from(value: RecoveryDecisionId) -> Self
Converts to this type from the input type.
Source§impl Hash for RecoveryDecisionId
impl Hash for RecoveryDecisionId
Source§impl Ord for RecoveryDecisionId
impl Ord for RecoveryDecisionId
Source§fn cmp(&self, other: &RecoveryDecisionId) -> Ordering
fn cmp(&self, other: &RecoveryDecisionId) -> 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 RecoveryDecisionId
impl PartialEq for RecoveryDecisionId
Source§impl PartialOrd for RecoveryDecisionId
impl PartialOrd for RecoveryDecisionId
impl StructuralPartialEq for RecoveryDecisionId
Auto Trait Implementations§
impl Freeze for RecoveryDecisionId
impl RefUnwindSafe for RecoveryDecisionId
impl Send for RecoveryDecisionId
impl Sync for RecoveryDecisionId
impl Unpin for RecoveryDecisionId
impl UnsafeUnpin for RecoveryDecisionId
impl UnwindSafe for RecoveryDecisionId
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