pub struct NodeHandle {
pub provider_id: ProviderNodeId,
pub address: Option<String>,
pub zone: Option<String>,
pub capacity_type: CapacityType,
pub join_state: JoinState,
}Expand description
A handle to a provisioned (or in-flight) node.
Fields§
§provider_id: ProviderNodeIdProvider-scoped identifier for the node.
address: Option<String>Reachable address (IP or hostname), once known.
zone: Option<String>Availability zone the node landed in, if known.
capacity_type: CapacityTypeBilling capacity type the node was provisioned as.
join_state: JoinStateCurrent lifecycle state.
Trait Implementations§
Source§impl Clone for NodeHandle
impl Clone for NodeHandle
Source§fn clone(&self) -> NodeHandle
fn clone(&self) -> NodeHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeHandle
impl Debug for NodeHandle
Source§impl<'de> Deserialize<'de> for NodeHandle
impl<'de> Deserialize<'de> for NodeHandle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeHandle
impl RefUnwindSafe for NodeHandle
impl Send for NodeHandle
impl Sync for NodeHandle
impl Unpin for NodeHandle
impl UnsafeUnpin for NodeHandle
impl UnwindSafe for NodeHandle
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