#[non_exhaustive]pub struct NodeToNodeEncryptionOptionsBuilder { /* private fields */ }Expand description
A builder for NodeToNodeEncryptionOptions.
Implementations§
source§impl NodeToNodeEncryptionOptionsBuilder
impl NodeToNodeEncryptionOptionsBuilder
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Specify true to enable node-to-node encryption.
sourcepub fn build(self) -> NodeToNodeEncryptionOptions
pub fn build(self) -> NodeToNodeEncryptionOptions
Consumes the builder and constructs a NodeToNodeEncryptionOptions.
Trait Implementations§
source§impl Clone for NodeToNodeEncryptionOptionsBuilder
impl Clone for NodeToNodeEncryptionOptionsBuilder
source§fn clone(&self) -> NodeToNodeEncryptionOptionsBuilder
fn clone(&self) -> NodeToNodeEncryptionOptionsBuilder
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 Default for NodeToNodeEncryptionOptionsBuilder
impl Default for NodeToNodeEncryptionOptionsBuilder
source§fn default() -> NodeToNodeEncryptionOptionsBuilder
fn default() -> NodeToNodeEncryptionOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<NodeToNodeEncryptionOptionsBuilder> for NodeToNodeEncryptionOptionsBuilder
impl PartialEq<NodeToNodeEncryptionOptionsBuilder> for NodeToNodeEncryptionOptionsBuilder
source§fn eq(&self, other: &NodeToNodeEncryptionOptionsBuilder) -> bool
fn eq(&self, other: &NodeToNodeEncryptionOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.