pub struct EncryptionInTransit {
pub client_broker: Option<String>,
pub in_cluster: Option<bool>,
}Expand description
<p>The settings for encrypting data in transit.</p>
Fields§
§client_broker: Option<String> <p>Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.</p>
<p>
TLS means that client-broker communication is enabled with TLS only.</p>
<p>
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.</p>
<p>
PLAINTEXT means that client-broker communication is enabled in plaintext only.</p>
<p>The default value is TLS_PLAINTEXT.</p>
in_cluster: Option<bool> <p>When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.</p>
<p>The default value is true.</p>
Trait Implementations§
Source§impl Clone for EncryptionInTransit
impl Clone for EncryptionInTransit
Source§fn clone(&self) -> EncryptionInTransit
fn clone(&self) -> EncryptionInTransit
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 EncryptionInTransit
impl Debug for EncryptionInTransit
Source§impl Default for EncryptionInTransit
impl Default for EncryptionInTransit
Source§fn default() -> EncryptionInTransit
fn default() -> EncryptionInTransit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncryptionInTransit
impl<'de> Deserialize<'de> for EncryptionInTransit
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 EncryptionInTransit
impl PartialEq for EncryptionInTransit
Source§impl Serialize for EncryptionInTransit
impl Serialize for EncryptionInTransit
impl StructuralPartialEq for EncryptionInTransit
Auto Trait Implementations§
impl Freeze for EncryptionInTransit
impl RefUnwindSafe for EncryptionInTransit
impl Send for EncryptionInTransit
impl Sync for EncryptionInTransit
impl Unpin for EncryptionInTransit
impl UnwindSafe for EncryptionInTransit
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