#[non_exhaustive]pub struct OutboundConnectionBuilder { /* private fields */ }
Expand description
A builder for OutboundConnection
.
Implementations§
source§impl OutboundConnectionBuilder
impl OutboundConnectionBuilder
sourcepub fn local_domain_info(self, input: DomainInformationContainer) -> Self
pub fn local_domain_info(self, input: DomainInformationContainer) -> Self
Information about the source (local) domain.
sourcepub fn set_local_domain_info(
self,
input: Option<DomainInformationContainer>
) -> Self
pub fn set_local_domain_info( self, input: Option<DomainInformationContainer> ) -> Self
Information about the source (local) domain.
sourcepub fn get_local_domain_info(&self) -> &Option<DomainInformationContainer>
pub fn get_local_domain_info(&self) -> &Option<DomainInformationContainer>
Information about the source (local) domain.
sourcepub fn remote_domain_info(self, input: DomainInformationContainer) -> Self
pub fn remote_domain_info(self, input: DomainInformationContainer) -> Self
Information about the destination (remote) domain.
sourcepub fn set_remote_domain_info(
self,
input: Option<DomainInformationContainer>
) -> Self
pub fn set_remote_domain_info( self, input: Option<DomainInformationContainer> ) -> Self
Information about the destination (remote) domain.
sourcepub fn get_remote_domain_info(&self) -> &Option<DomainInformationContainer>
pub fn get_remote_domain_info(&self) -> &Option<DomainInformationContainer>
Information about the destination (remote) domain.
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
Unique identifier of the connection.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
Unique identifier of the connection.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
Unique identifier of the connection.
sourcepub fn connection_alias(self, input: impl Into<String>) -> Self
pub fn connection_alias(self, input: impl Into<String>) -> Self
Name of the connection.
sourcepub fn set_connection_alias(self, input: Option<String>) -> Self
pub fn set_connection_alias(self, input: Option<String>) -> Self
Name of the connection.
sourcepub fn get_connection_alias(&self) -> &Option<String>
pub fn get_connection_alias(&self) -> &Option<String>
Name of the connection.
sourcepub fn connection_status(self, input: OutboundConnectionStatus) -> Self
pub fn connection_status(self, input: OutboundConnectionStatus) -> Self
Status of the connection.
sourcepub fn set_connection_status(
self,
input: Option<OutboundConnectionStatus>
) -> Self
pub fn set_connection_status( self, input: Option<OutboundConnectionStatus> ) -> Self
Status of the connection.
sourcepub fn get_connection_status(&self) -> &Option<OutboundConnectionStatus>
pub fn get_connection_status(&self) -> &Option<OutboundConnectionStatus>
Status of the connection.
sourcepub fn connection_mode(self, input: ConnectionMode) -> Self
pub fn connection_mode(self, input: ConnectionMode) -> Self
The connection mode.
sourcepub fn set_connection_mode(self, input: Option<ConnectionMode>) -> Self
pub fn set_connection_mode(self, input: Option<ConnectionMode>) -> Self
The connection mode.
sourcepub fn get_connection_mode(&self) -> &Option<ConnectionMode>
pub fn get_connection_mode(&self) -> &Option<ConnectionMode>
The connection mode.
sourcepub fn connection_properties(self, input: ConnectionProperties) -> Self
pub fn connection_properties(self, input: ConnectionProperties) -> Self
Properties for the outbound connection.
sourcepub fn set_connection_properties(
self,
input: Option<ConnectionProperties>
) -> Self
pub fn set_connection_properties( self, input: Option<ConnectionProperties> ) -> Self
Properties for the outbound connection.
sourcepub fn get_connection_properties(&self) -> &Option<ConnectionProperties>
pub fn get_connection_properties(&self) -> &Option<ConnectionProperties>
Properties for the outbound connection.
sourcepub fn build(self) -> OutboundConnection
pub fn build(self) -> OutboundConnection
Consumes the builder and constructs a OutboundConnection
.
Trait Implementations§
source§impl Clone for OutboundConnectionBuilder
impl Clone for OutboundConnectionBuilder
source§fn clone(&self) -> OutboundConnectionBuilder
fn clone(&self) -> OutboundConnectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OutboundConnectionBuilder
impl Debug for OutboundConnectionBuilder
source§impl Default for OutboundConnectionBuilder
impl Default for OutboundConnectionBuilder
source§fn default() -> OutboundConnectionBuilder
fn default() -> OutboundConnectionBuilder
source§impl PartialEq for OutboundConnectionBuilder
impl PartialEq for OutboundConnectionBuilder
source§fn eq(&self, other: &OutboundConnectionBuilder) -> bool
fn eq(&self, other: &OutboundConnectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.