pub struct NodeGroupMember {
pub cache_cluster_id: Option<String>,
pub cache_node_id: Option<String>,
pub current_role: Option<String>,
pub preferred_availability_zone: Option<String>,
pub read_endpoint: Option<Endpoint>,
}
Expand description
Represents a single node within a node group (shard).
Fields§
§cache_cluster_id: Option<String>
The ID of the cluster to which the node belongs.
cache_node_id: Option<String>
The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
current_role: Option<String>
The role that is currently assigned to the node - primary
or replica
. This member is only applicable for Redis (cluster mode disabled) replication groups.
preferred_availability_zone: Option<String>
The name of the Availability Zone in which the node is located.
read_endpoint: Option<Endpoint>
The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Redis (cluster mode disabled) clusters.
Trait Implementations§
Source§impl Clone for NodeGroupMember
impl Clone for NodeGroupMember
Source§fn clone(&self) -> NodeGroupMember
fn clone(&self) -> NodeGroupMember
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 NodeGroupMember
impl Debug for NodeGroupMember
Source§impl Default for NodeGroupMember
impl Default for NodeGroupMember
Source§fn default() -> NodeGroupMember
fn default() -> NodeGroupMember
Returns the “default value” for a type. Read more
Source§impl PartialEq for NodeGroupMember
impl PartialEq for NodeGroupMember
impl StructuralPartialEq for NodeGroupMember
Auto Trait Implementations§
impl Freeze for NodeGroupMember
impl RefUnwindSafe for NodeGroupMember
impl Send for NodeGroupMember
impl Sync for NodeGroupMember
impl Unpin for NodeGroupMember
impl UnwindSafe for NodeGroupMember
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