pub struct StationScheduleCandidate {
pub station_id: StationId,
pub load_score: u64,
pub tick_lag: u64,
}Expand description
Candidate selected by the load-aware station scheduler.
Fields§
§station_id: StationIdStation selected for advancement.
load_score: u64Deterministic pressure score derived from the latest load sample.
tick_lag: u64How far this station is behind the most advanced station in the set.
Trait Implementations§
Source§impl Clone for StationScheduleCandidate
impl Clone for StationScheduleCandidate
Source§fn clone(&self) -> StationScheduleCandidate
fn clone(&self) -> StationScheduleCandidate
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 StationScheduleCandidate
Source§impl Debug for StationScheduleCandidate
impl Debug for StationScheduleCandidate
impl Eq for StationScheduleCandidate
Source§impl PartialEq for StationScheduleCandidate
impl PartialEq for StationScheduleCandidate
impl StructuralPartialEq for StationScheduleCandidate
Auto Trait Implementations§
impl Freeze for StationScheduleCandidate
impl RefUnwindSafe for StationScheduleCandidate
impl Send for StationScheduleCandidate
impl Sync for StationScheduleCandidate
impl Unpin for StationScheduleCandidate
impl UnsafeUnpin for StationScheduleCandidate
impl UnwindSafe for StationScheduleCandidate
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