pub struct OperationEntitlementCommitment { /* private fields */ }Expand description
A one-use anonymous entitlement/nullifier bound to exactly one intent.
Implementations§
Source§impl OperationEntitlementCommitment
impl OperationEntitlementCommitment
pub fn from_verified_bytes(intent_digest: IntentDigest, bytes: Vec<u8>) -> Self
pub const fn intent_digest(&self) -> IntentDigest
Trait Implementations§
Source§impl Clone for OperationEntitlementCommitment
impl Clone for OperationEntitlementCommitment
Source§fn clone(&self) -> OperationEntitlementCommitment
fn clone(&self) -> OperationEntitlementCommitment
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 moreSource§impl PartialEq for OperationEntitlementCommitment
impl PartialEq for OperationEntitlementCommitment
Source§fn eq(&self, other: &OperationEntitlementCommitment) -> bool
fn eq(&self, other: &OperationEntitlementCommitment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OperationEntitlementCommitment
impl StructuralPartialEq for OperationEntitlementCommitment
Auto Trait Implementations§
impl Freeze for OperationEntitlementCommitment
impl RefUnwindSafe for OperationEntitlementCommitment
impl Send for OperationEntitlementCommitment
impl Sync for OperationEntitlementCommitment
impl Unpin for OperationEntitlementCommitment
impl UnsafeUnpin for OperationEntitlementCommitment
impl UnwindSafe for OperationEntitlementCommitment
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