pub enum TrustAnchor {
Digest(ValidDigest),
Host(String),
Metadata {
key: String,
value: String,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TrustAnchor
impl Clone for TrustAnchor
Source§fn clone(&self) -> TrustAnchor
fn clone(&self) -> TrustAnchor
Returns a duplicate of the value. Read more
1.0.0 · 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 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
Source§impl PartialEq for TrustAnchor
impl PartialEq for TrustAnchor
Source§impl Serialize for TrustAnchor
impl Serialize for TrustAnchor
impl Eq for TrustAnchor
impl StructuralPartialEq for TrustAnchor
Auto Trait Implementations§
impl Freeze for TrustAnchor
impl RefUnwindSafe for TrustAnchor
impl Send for TrustAnchor
impl Sync for TrustAnchor
impl Unpin for TrustAnchor
impl UnsafeUnpin for TrustAnchor
impl UnwindSafe for TrustAnchor
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