pub struct NumAgents(/* private fields */);Expand description
Number of agents participating in a deliberation. Must be at least one — a deliberation without agents has no meaning.
Implementations§
Trait Implementations§
impl Copy for NumAgents
Source§impl<'de> Deserialize<'de> for NumAgents
impl<'de> Deserialize<'de> for NumAgents
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
impl Eq for NumAgents
impl StructuralPartialEq for NumAgents
Auto Trait Implementations§
impl Freeze for NumAgents
impl RefUnwindSafe for NumAgents
impl Send for NumAgents
impl Sync for NumAgents
impl Unpin for NumAgents
impl UnsafeUnpin for NumAgents
impl UnwindSafe for NumAgents
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