pub struct DelegationChainLink {
pub link_type: EntryType,
pub entry: Entry,
pub inclusion_proof: InclusionProof,
}Expand description
A single link in a delegation chain, containing the logged entry and its Merkle inclusion proof.
Each link proves that a delegation event (e.g., org member add) was recorded in the transparency log.
Args:
link_type— The type of delegation event this link represents.entry— The full log entry for the delegation event.inclusion_proof— Merkle proof that the entry is included in the log.
Usage:
ⓘ
let link = DelegationChainLink {
link_type: EntryType::OrgMemberAdd,
entry,
inclusion_proof: proof,
};Fields§
§link_type: EntryType§entry: Entry§inclusion_proof: InclusionProofTrait Implementations§
Source§impl Clone for DelegationChainLink
impl Clone for DelegationChainLink
Source§fn clone(&self) -> DelegationChainLink
fn clone(&self) -> DelegationChainLink
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 DelegationChainLink
impl Debug for DelegationChainLink
Source§impl<'de> Deserialize<'de> for DelegationChainLink
impl<'de> Deserialize<'de> for DelegationChainLink
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 DelegationChainLink
impl PartialEq for DelegationChainLink
Source§fn eq(&self, other: &DelegationChainLink) -> bool
fn eq(&self, other: &DelegationChainLink) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DelegationChainLink
impl Serialize for DelegationChainLink
impl StructuralPartialEq for DelegationChainLink
Auto Trait Implementations§
impl Freeze for DelegationChainLink
impl RefUnwindSafe for DelegationChainLink
impl Send for DelegationChainLink
impl Sync for DelegationChainLink
impl Unpin for DelegationChainLink
impl UnsafeUnpin for DelegationChainLink
impl UnwindSafe for DelegationChainLink
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