pub struct ClusterNode {
pub node_role: Option<String>,
pub private_ip_address: Option<String>,
pub public_ip_address: Option<String>,
}
Expand description
The identifier of a node in a cluster.
Fields§
§node_role: Option<String>
Whether the node is a leader node or a compute node.
private_ip_address: Option<String>
The private IP address of a node within a cluster.
public_ip_address: Option<String>
The public IP address of a node within a cluster.
Trait Implementations§
Source§impl Clone for ClusterNode
impl Clone for ClusterNode
Source§fn clone(&self) -> ClusterNode
fn clone(&self) -> ClusterNode
Returns a duplicate 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 ClusterNode
impl Debug for ClusterNode
Source§impl Default for ClusterNode
impl Default for ClusterNode
Source§fn default() -> ClusterNode
fn default() -> ClusterNode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClusterNode
impl PartialEq for ClusterNode
impl StructuralPartialEq for ClusterNode
Auto Trait Implementations§
impl Freeze for ClusterNode
impl RefUnwindSafe for ClusterNode
impl Send for ClusterNode
impl Sync for ClusterNode
impl Unpin for ClusterNode
impl UnwindSafe for ClusterNode
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