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