pub struct OwnerCommitment(/* private fields */);Expand description
A stable, private ownership commitment. It is deliberately not assignable to anonymous capability, entitlement, label, or public-evidence fields.
Implementations§
Source§impl OwnerCommitment
impl OwnerCommitment
Sourcepub fn from_verified_bytes(bytes: Vec<u8>) -> Self
pub fn from_verified_bytes(bytes: Vec<u8>) -> Self
#1065 validates the selected ownership-commitment construction.
Trait Implementations§
Source§impl Clone for OwnerCommitment
impl Clone for OwnerCommitment
Source§fn clone(&self) -> OwnerCommitment
fn clone(&self) -> OwnerCommitment
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 Debug for OwnerCommitment
impl Debug for OwnerCommitment
Source§impl Hash for OwnerCommitment
impl Hash for OwnerCommitment
Source§impl PartialEq for OwnerCommitment
impl PartialEq for OwnerCommitment
Source§fn eq(&self, other: &OwnerCommitment) -> bool
fn eq(&self, other: &OwnerCommitment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OwnerCommitment
impl StructuralPartialEq for OwnerCommitment
Auto Trait Implementations§
impl Freeze for OwnerCommitment
impl RefUnwindSafe for OwnerCommitment
impl Send for OwnerCommitment
impl Sync for OwnerCommitment
impl Unpin for OwnerCommitment
impl UnsafeUnpin for OwnerCommitment
impl UnwindSafe for OwnerCommitment
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