pub struct Rounds(/* private fields */);Expand description
Number of peer-review rounds performed during a deliberation.
Zero rounds is a valid configuration (proposals go straight to
validation without critique/revision). The upper bound
[MAX_ROUNDS] is enforced to keep deliberations bounded.
Implementations§
Trait Implementations§
impl Copy for Rounds
Source§impl<'de> Deserialize<'de> for Rounds
impl<'de> Deserialize<'de> for Rounds
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 Rounds
impl StructuralPartialEq for Rounds
Auto Trait Implementations§
impl Freeze for Rounds
impl RefUnwindSafe for Rounds
impl Send for Rounds
impl Sync for Rounds
impl Unpin for Rounds
impl UnsafeUnpin for Rounds
impl UnwindSafe for Rounds
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