pub struct ClientPolicyTls {
pub enforce: Option<bool>,
pub ports: Option<Vec<i64>>,
pub validation: TlsValidationContext,
}Expand description
An object that represents a Transport Layer Security (TLS) client policy.
Fields§
§enforce: Option<bool>Whether the policy is enforced. The default is True, if a value isn't
specified.
ports: Option<Vec<i64>>One or more ports that the policy is enforced for.
validation: TlsValidationContextA reference to an object that represents a TLS validation context.
Trait Implementations§
Source§impl Clone for ClientPolicyTls
impl Clone for ClientPolicyTls
Source§fn clone(&self) -> ClientPolicyTls
fn clone(&self) -> ClientPolicyTls
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 ClientPolicyTls
impl Debug for ClientPolicyTls
Source§impl Default for ClientPolicyTls
impl Default for ClientPolicyTls
Source§fn default() -> ClientPolicyTls
fn default() -> ClientPolicyTls
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientPolicyTls
impl<'de> Deserialize<'de> for ClientPolicyTls
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 ClientPolicyTls
impl PartialEq for ClientPolicyTls
Source§impl Serialize for ClientPolicyTls
impl Serialize for ClientPolicyTls
impl StructuralPartialEq for ClientPolicyTls
Auto Trait Implementations§
impl Freeze for ClientPolicyTls
impl RefUnwindSafe for ClientPolicyTls
impl Send for ClientPolicyTls
impl Sync for ClientPolicyTls
impl Unpin for ClientPolicyTls
impl UnwindSafe for ClientPolicyTls
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