pub struct RouteSlot {
pub name: String,
pub parallel: usize,
pub group: Option<String>,
}Expand description
What a route offers a run: its name, how many flares may share it, and which server it is.
Fields§
§name: String§parallel: usize§group: Option<String>Routes with the same group are one server’s worth of slots.
Implementations§
Trait Implementations§
impl Eq for RouteSlot
impl StructuralPartialEq for RouteSlot
Auto Trait Implementations§
impl Forget for RouteSlot
impl Freeze for RouteSlot
impl Move for RouteSlot
impl RefUnwindSafe for RouteSlot
impl Send for RouteSlotwhere
RawVecInner: Send,
impl Sync for RouteSlotwhere
RawVecInner: Sync,
impl Unpin for RouteSlot
impl UnsafeUnpin for RouteSlot
impl UnwindSafe for RouteSlotwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.