pub struct AuthorityDeclaration {
pub id: String,
pub aggregate_key: Option<String>,
pub fingerprint: Option<String>,
pub quorum: Option<Quorum>,
pub parents: Vec<String>,
pub scope: ScopeDimensions,
}Expand description
One declared trust authority.
Fields§
§id: StringStable authority identifier.
aggregate_key: Option<String>Aggregate (or single) public key, when carried inline.
fingerprint: Option<String>Key fingerprint, when the key is distributed out of band.
quorum: Option<Quorum>Quorum parameters; None for a 1-of-1 authority.
parents: Vec<String>Parent authority identifiers (empty for roots).
scope: ScopeDimensionsThe authority’s scope.
Trait Implementations§
Source§impl Clone for AuthorityDeclaration
impl Clone for AuthorityDeclaration
Source§fn clone(&self) -> AuthorityDeclaration
fn clone(&self) -> AuthorityDeclaration
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 AuthorityDeclaration
impl Debug for AuthorityDeclaration
Source§impl<'de> Deserialize<'de> for AuthorityDeclaration
impl<'de> Deserialize<'de> for AuthorityDeclaration
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 AuthorityDeclaration
impl RefUnwindSafe for AuthorityDeclaration
impl Send for AuthorityDeclaration
impl Sync for AuthorityDeclaration
impl Unpin for AuthorityDeclaration
impl UnsafeUnpin for AuthorityDeclaration
impl UnwindSafe for AuthorityDeclaration
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