pub struct TlsValidationContext {
pub trust: TlsValidationContextTrust,
}
Expand description
An object that represents a Transport Layer Security (TLS) validation context.
Fields§
§trust: TlsValidationContextTrust
A reference to an object that represents a TLS validation context trust.
Trait Implementations§
Source§impl Clone for TlsValidationContext
impl Clone for TlsValidationContext
Source§fn clone(&self) -> TlsValidationContext
fn clone(&self) -> TlsValidationContext
Returns a copy 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 TlsValidationContext
impl Debug for TlsValidationContext
Source§impl Default for TlsValidationContext
impl Default for TlsValidationContext
Source§fn default() -> TlsValidationContext
fn default() -> TlsValidationContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TlsValidationContext
impl<'de> Deserialize<'de> for TlsValidationContext
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 TlsValidationContext
impl PartialEq for TlsValidationContext
Source§impl Serialize for TlsValidationContext
impl Serialize for TlsValidationContext
impl StructuralPartialEq for TlsValidationContext
Auto Trait Implementations§
impl Freeze for TlsValidationContext
impl RefUnwindSafe for TlsValidationContext
impl Send for TlsValidationContext
impl Sync for TlsValidationContext
impl Unpin for TlsValidationContext
impl UnwindSafe for TlsValidationContext
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