Struct aws_sdk_kafka::types::ZookeeperNodeInfo
source · #[non_exhaustive]pub struct ZookeeperNodeInfo {
pub attached_eni_id: Option<String>,
pub client_vpc_ip_address: Option<String>,
pub endpoints: Option<Vec<String>>,
pub zookeeper_id: Option<f64>,
pub zookeeper_version: Option<String>,
}
Expand description
Zookeeper node information.
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.attached_eni_id: Option<String>
The attached elastic network interface of the broker.
client_vpc_ip_address: Option<String>
The virtual private cloud (VPC) IP address of the client.
endpoints: Option<Vec<String>>
Endpoints for accessing the ZooKeeper.
zookeeper_id: Option<f64>
The role-specific ID for Zookeeper.
zookeeper_version: Option<String>
The version of Zookeeper.
Implementations§
source§impl ZookeeperNodeInfo
impl ZookeeperNodeInfo
sourcepub fn attached_eni_id(&self) -> Option<&str>
pub fn attached_eni_id(&self) -> Option<&str>
The attached elastic network interface of the broker.
sourcepub fn client_vpc_ip_address(&self) -> Option<&str>
pub fn client_vpc_ip_address(&self) -> Option<&str>
The virtual private cloud (VPC) IP address of the client.
sourcepub fn endpoints(&self) -> &[String]
pub fn endpoints(&self) -> &[String]
Endpoints for accessing the ZooKeeper.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .endpoints.is_none()
.
sourcepub fn zookeeper_id(&self) -> Option<f64>
pub fn zookeeper_id(&self) -> Option<f64>
The role-specific ID for Zookeeper.
sourcepub fn zookeeper_version(&self) -> Option<&str>
pub fn zookeeper_version(&self) -> Option<&str>
The version of Zookeeper.
source§impl ZookeeperNodeInfo
impl ZookeeperNodeInfo
sourcepub fn builder() -> ZookeeperNodeInfoBuilder
pub fn builder() -> ZookeeperNodeInfoBuilder
Creates a new builder-style object to manufacture ZookeeperNodeInfo
.
Trait Implementations§
source§impl Clone for ZookeeperNodeInfo
impl Clone for ZookeeperNodeInfo
source§fn clone(&self) -> ZookeeperNodeInfo
fn clone(&self) -> ZookeeperNodeInfo
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 ZookeeperNodeInfo
impl Debug for ZookeeperNodeInfo
source§impl PartialEq for ZookeeperNodeInfo
impl PartialEq for ZookeeperNodeInfo
source§fn eq(&self, other: &ZookeeperNodeInfo) -> bool
fn eq(&self, other: &ZookeeperNodeInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ZookeeperNodeInfo
Auto Trait Implementations§
impl Freeze for ZookeeperNodeInfo
impl RefUnwindSafe for ZookeeperNodeInfo
impl Send for ZookeeperNodeInfo
impl Sync for ZookeeperNodeInfo
impl Unpin for ZookeeperNodeInfo
impl UnwindSafe for ZookeeperNodeInfo
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.