pub struct TrustAnchor {
pub pem_certificate: Option<String>,
}Expand description
Represents a root of trust.
This type is not used in any activity, and only used as part of another schema.
Fields§
§pem_certificate: Option<String>PEM certificate of the PKI used for validation. Must only contain one ca certificate (either root or intermediate cert).
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 Default for TrustAnchor
impl Default for TrustAnchor
Source§fn default() -> TrustAnchor
fn default() -> TrustAnchor
Returns the “default value” for a type. Read more
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 Serialize for TrustAnchor
impl Serialize for TrustAnchor
impl Part 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 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