pub struct TestTlsConfig {
pub accept_invalid_certificates: bool,
}
Fields§
§accept_invalid_certificates: bool
Implementations§
Source§impl TestTlsConfig
impl TestTlsConfig
pub fn accept_invalid_certificates( self, accept_invalid_certificates: bool, ) -> Self
Trait Implementations§
Source§impl Clone for TestTlsConfig
impl Clone for TestTlsConfig
Source§fn clone(&self) -> TestTlsConfig
fn clone(&self) -> TestTlsConfig
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 Default for TestTlsConfig
impl Default for TestTlsConfig
Source§fn default() -> TestTlsConfig
fn default() -> TestTlsConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TestTlsConfig
impl RefUnwindSafe for TestTlsConfig
impl Send for TestTlsConfig
impl Sync for TestTlsConfig
impl Unpin for TestTlsConfig
impl UnwindSafe for TestTlsConfig
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