pub struct TlsPinConfig {
pub expected_certificate_hash: Option<String>,
pub expected_certificate_pem: Option<String>,
}Fields§
§expected_certificate_hash: Option<String>§expected_certificate_pem: Option<String>Trait Implementations§
Source§impl Clone for TlsPinConfig
impl Clone for TlsPinConfig
Source§fn clone(&self) -> TlsPinConfig
fn clone(&self) -> TlsPinConfig
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 TlsPinConfig
impl Debug for TlsPinConfig
Source§impl<'de> Deserialize<'de> for TlsPinConfig
impl<'de> Deserialize<'de> for TlsPinConfig
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 TlsPinConfig
impl RefUnwindSafe for TlsPinConfig
impl Send for TlsPinConfig
impl Sync for TlsPinConfig
impl Unpin for TlsPinConfig
impl UnsafeUnpin for TlsPinConfig
impl UnwindSafe for TlsPinConfig
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