Struct aws_sdk_outposts::types::ConnectionDetails
source · #[non_exhaustive]pub struct ConnectionDetails {
pub client_public_key: Option<String>,
pub server_public_key: Option<String>,
pub server_endpoint: Option<String>,
pub client_tunnel_address: Option<String>,
pub server_tunnel_address: Option<String>,
pub allowed_ips: Option<Vec<String>>,
}
Expand description
Information about a connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_public_key: Option<String>
The public key of the client.
server_public_key: Option<String>
The public key of the server.
server_endpoint: Option<String>
The endpoint for the server.
client_tunnel_address: Option<String>
The client tunnel address.
server_tunnel_address: Option<String>
The server tunnel address.
allowed_ips: Option<Vec<String>>
The allowed IP addresses.
Implementations§
source§impl ConnectionDetails
impl ConnectionDetails
sourcepub fn client_public_key(&self) -> Option<&str>
pub fn client_public_key(&self) -> Option<&str>
The public key of the client.
sourcepub fn server_public_key(&self) -> Option<&str>
pub fn server_public_key(&self) -> Option<&str>
The public key of the server.
sourcepub fn server_endpoint(&self) -> Option<&str>
pub fn server_endpoint(&self) -> Option<&str>
The endpoint for the server.
sourcepub fn client_tunnel_address(&self) -> Option<&str>
pub fn client_tunnel_address(&self) -> Option<&str>
The client tunnel address.
sourcepub fn server_tunnel_address(&self) -> Option<&str>
pub fn server_tunnel_address(&self) -> Option<&str>
The server tunnel address.
sourcepub fn allowed_ips(&self) -> &[String]
pub fn allowed_ips(&self) -> &[String]
The allowed IP addresses.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .allowed_ips.is_none()
.
source§impl ConnectionDetails
impl ConnectionDetails
sourcepub fn builder() -> ConnectionDetailsBuilder
pub fn builder() -> ConnectionDetailsBuilder
Creates a new builder-style object to manufacture ConnectionDetails
.
Trait Implementations§
source§impl Clone for ConnectionDetails
impl Clone for ConnectionDetails
source§fn clone(&self) -> ConnectionDetails
fn clone(&self) -> ConnectionDetails
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 Debug for ConnectionDetails
impl Debug for ConnectionDetails
source§impl PartialEq for ConnectionDetails
impl PartialEq for ConnectionDetails
source§fn eq(&self, other: &ConnectionDetails) -> bool
fn eq(&self, other: &ConnectionDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionDetails
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionDetails
impl Send for ConnectionDetails
impl Sync for ConnectionDetails
impl Unpin for ConnectionDetails
impl UnwindSafe for ConnectionDetails
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.