pub struct AuthorizedOperation<'a>(/* private fields */);Expand description
Authenticated operation approved by application authorization policy.
Implementations§
Source§impl<'a> AuthorizedOperation<'a>
impl<'a> AuthorizedOperation<'a>
Sourcepub const fn envelope(self) -> &'a OperationEnvelope
pub const fn envelope(self) -> &'a OperationEnvelope
Borrows the underlying envelope for conflict and authoritative-state validation.
Sourcepub const fn validate(self) -> ValidatedOperation<'a>
pub const fn validate(self) -> ValidatedOperation<'a>
Marks successful structural, business-precondition, and conflict validation.
Trait Implementations§
Source§impl<'a> Clone for AuthorizedOperation<'a>
impl<'a> Clone for AuthorizedOperation<'a>
Source§fn clone(&self) -> AuthorizedOperation<'a>
fn clone(&self) -> AuthorizedOperation<'a>
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<'a> Copy for AuthorizedOperation<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuthorizedOperation<'a>
impl<'a> RefUnwindSafe for AuthorizedOperation<'a>
impl<'a> Send for AuthorizedOperation<'a>
impl<'a> Sync for AuthorizedOperation<'a>
impl<'a> Unpin for AuthorizedOperation<'a>
impl<'a> UnsafeUnpin for AuthorizedOperation<'a>
impl<'a> UnwindSafe for AuthorizedOperation<'a>
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