Struct aws_sdk_docdb::types::Endpoint
source · #[non_exhaustive]pub struct Endpoint {
pub address: Option<String>,
pub port: i32,
pub hosted_zone_id: Option<String>,
}
Expand description
Network information for accessing a cluster or instance. Client programs must specify a valid endpoint to access these Amazon DocumentDB resources.
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.address: Option<String>
Specifies the DNS address of the instance.
port: i32
Specifies the port that the database engine is listening on.
hosted_zone_id: Option<String>
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
Implementations§
Trait Implementations§
source§impl PartialEq for Endpoint
impl PartialEq for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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