pub struct PriorityPool {
pub current: u16,
pub max: u16,
}Expand description
Replicated state for an agent’s priority pool.
Fields§
§current: u16§max: u16Trait Implementations§
Source§impl Clone for PriorityPool
impl Clone for PriorityPool
Source§fn clone(&self) -> PriorityPool
fn clone(&self) -> PriorityPool
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 PriorityPool
impl Debug for PriorityPool
Source§impl Default for PriorityPool
impl Default for PriorityPool
Source§fn default() -> PriorityPool
fn default() -> PriorityPool
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PriorityPool
impl<'de> Deserialize<'de> for PriorityPool
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
Source§impl Serialize for PriorityPool
impl Serialize for PriorityPool
impl Copy for PriorityPool
Auto Trait Implementations§
impl Freeze for PriorityPool
impl RefUnwindSafe for PriorityPool
impl Send for PriorityPool
impl Sync for PriorityPool
impl Unpin for PriorityPool
impl UnsafeUnpin for PriorityPool
impl UnwindSafe for PriorityPool
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