pub struct TrustAnchor {
pub cluster_id: String,
pub owner_key: PublicKey,
pub genesis_hash: Digest,
}Expand description
Pin this through an already trusted endpoint, never from an unverified directory.
Fields§
§cluster_id: String§owner_key: PublicKey§genesis_hash: DigestTrait Implementations§
Source§impl Clone for TrustAnchor
impl Clone for TrustAnchor
Source§impl Debug for TrustAnchor
impl Debug for TrustAnchor
Source§impl<'de> Deserialize<'de> for TrustAnchor
impl<'de> Deserialize<'de> for TrustAnchor
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
impl Eq for TrustAnchor
Source§impl PartialEq for TrustAnchor
impl PartialEq for TrustAnchor
Source§impl Serialize for TrustAnchor
impl Serialize for TrustAnchor
impl StructuralPartialEq for TrustAnchor
Auto Trait Implementations§
impl Forget for TrustAnchor
impl Freeze for TrustAnchor
impl Move for TrustAnchor
impl RefUnwindSafe for TrustAnchor
impl Send for TrustAnchorwhere
RawVecInner: Send,
impl Sync for TrustAnchorwhere
RawVecInner: Sync,
impl Unpin for TrustAnchor
impl UnsafeUnpin for TrustAnchor
impl UnwindSafe for TrustAnchorwhere
RawVecInner: UnwindSafe,
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