pub struct PreparedAccessLeaf {
pub bytes: Vec<u8>,
pub value: CircleAccessLeaf,
pub leaf_hash: ObjectHash,
}Fields§
§bytes: Vec<u8>§value: CircleAccessLeaf§leaf_hash: ObjectHashImplementations§
Source§impl PreparedAccessLeaf
impl PreparedAccessLeaf
pub fn verify( &self, control: &PreparedCircleControl, candidate_family: CandidateFamilyId, ) -> bool
pub fn verify_envelope( &self, control: &PreparedCircleControl, envelope: &AccessEnvelope, candidate_family: CandidateFamilyId, ) -> bool
Trait Implementations§
Source§impl Clone for PreparedAccessLeaf
impl Clone for PreparedAccessLeaf
Source§fn clone(&self) -> PreparedAccessLeaf
fn clone(&self) -> PreparedAccessLeaf
Returns a duplicate of the value. Read more
1.0.0 · 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 PreparedAccessLeaf
impl Debug for PreparedAccessLeaf
Source§impl<'de> Deserialize<'de> for PreparedAccessLeaf
impl<'de> Deserialize<'de> for PreparedAccessLeaf
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PreparedAccessLeaf
impl PartialEq for PreparedAccessLeaf
Source§impl Serialize for PreparedAccessLeaf
impl Serialize for PreparedAccessLeaf
impl Eq for PreparedAccessLeaf
impl StructuralPartialEq for PreparedAccessLeaf
Auto Trait Implementations§
impl !Freeze for PreparedAccessLeaf
impl RefUnwindSafe for PreparedAccessLeaf
impl Send for PreparedAccessLeaf
impl Sync for PreparedAccessLeaf
impl Unpin for PreparedAccessLeaf
impl UnsafeUnpin for PreparedAccessLeaf
impl UnwindSafe for PreparedAccessLeaf
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.