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