pub struct PoolEntry {
pub key: &'static str,
pub label: &'static str,
pub cap: i64,
pub kinds: Vec<&'static str>,
}Expand description
A cap several kinds share.
Fields§
§key: &'static strThe name a FacilityEntry::pool refers to it by.
label: &'static strThe label the engine’s refusal names the pool by.
cap: i64The most units of all its kinds together a tower may hold.
kinds: Vec<&'static str>The facility keys that share it.
Trait Implementations§
impl StructuralPartialEq for PoolEntry
Auto Trait Implementations§
impl Freeze for PoolEntry
impl RefUnwindSafe for PoolEntry
impl Send for PoolEntry
impl Sync for PoolEntry
impl Unpin for PoolEntry
impl UnsafeUnpin for PoolEntry
impl UnwindSafe for PoolEntry
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