pub struct AnchorRoot {
pub name: String,
pub aggregate_key: Vec<u8>,
pub fingerprint: String,
pub quorum: Option<Quorum>,
}Expand description
One root trust authority in the bundle.
Fields§
§name: StringHuman-readable root name.
aggregate_key: Vec<u8>The root’s aggregate public key (SPKI or raw verifier bytes).
fingerprint: StringSHA-256 fingerprint of the aggregate key (hex).
quorum: Option<Quorum>Quorum parameters of the root authority.
Trait Implementations§
Source§impl Clone for AnchorRoot
impl Clone for AnchorRoot
Source§fn clone(&self) -> AnchorRoot
fn clone(&self) -> AnchorRoot
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 AnchorRoot
impl Debug for AnchorRoot
Source§impl<'de> Deserialize<'de> for AnchorRoot
impl<'de> Deserialize<'de> for AnchorRoot
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
Auto Trait Implementations§
impl Freeze for AnchorRoot
impl RefUnwindSafe for AnchorRoot
impl Send for AnchorRoot
impl Sync for AnchorRoot
impl Unpin for AnchorRoot
impl UnsafeUnpin for AnchorRoot
impl UnwindSafe for AnchorRoot
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