pub struct DeploymentNodeRoute {
pub node_id: NodeId,
pub state: DeploymentNodeState,
pub last_heartbeat: Tick,
pub station_capacity: usize,
pub assigned_stations: usize,
pub route_epoch: u64,
}Expand description
Route metadata for one node.
Fields§
§node_id: NodeIdNode id.
state: DeploymentNodeStateNode availability state.
last_heartbeat: TickLast heartbeat tick.
station_capacity: usizeStation capacity advertised for this node.
assigned_stations: usizeCurrent assigned station count.
route_epoch: u64Route epoch incremented when node state/capacity changes.
Trait Implementations§
Source§impl Clone for DeploymentNodeRoute
impl Clone for DeploymentNodeRoute
Source§fn clone(&self) -> DeploymentNodeRoute
fn clone(&self) -> DeploymentNodeRoute
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 moreimpl Copy for DeploymentNodeRoute
Source§impl Debug for DeploymentNodeRoute
impl Debug for DeploymentNodeRoute
impl Eq for DeploymentNodeRoute
Source§impl PartialEq for DeploymentNodeRoute
impl PartialEq for DeploymentNodeRoute
impl StructuralPartialEq for DeploymentNodeRoute
Auto Trait Implementations§
impl Freeze for DeploymentNodeRoute
impl RefUnwindSafe for DeploymentNodeRoute
impl Send for DeploymentNodeRoute
impl Sync for DeploymentNodeRoute
impl Unpin for DeploymentNodeRoute
impl UnsafeUnpin for DeploymentNodeRoute
impl UnwindSafe for DeploymentNodeRoute
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