pub enum AuthorityKind {
Root,
Delegated,
EndCertificate,
}Expand description
The kind of a trust authority node.
Variants§
Root
A root trust authority — verification terminus.
Delegated
A delegated trust authority.
EndCertificate
An end certificate authorizing one signing key.
Trait Implementations§
Source§impl Clone for AuthorityKind
impl Clone for AuthorityKind
Source§fn clone(&self) -> AuthorityKind
fn clone(&self) -> AuthorityKind
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 moreimpl Copy for AuthorityKind
Source§impl Debug for AuthorityKind
impl Debug for AuthorityKind
Source§impl<'de> Deserialize<'de> for AuthorityKind
impl<'de> Deserialize<'de> for AuthorityKind
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 AuthorityKind
Source§impl PartialEq for AuthorityKind
impl PartialEq for AuthorityKind
Source§fn eq(&self, other: &AuthorityKind) -> bool
fn eq(&self, other: &AuthorityKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthorityKind
impl Serialize for AuthorityKind
impl StructuralPartialEq for AuthorityKind
Auto Trait Implementations§
impl Freeze for AuthorityKind
impl RefUnwindSafe for AuthorityKind
impl Send for AuthorityKind
impl Sync for AuthorityKind
impl Unpin for AuthorityKind
impl UnsafeUnpin for AuthorityKind
impl UnwindSafe for AuthorityKind
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