pub struct QuorumThreshold {
pub threshold_type: String,
pub value: f64,
}Expand description
Threshold rules for Quorum mode (distinct from QuorumRules used in Decision mode’s voting.quorum).
Fields§
§threshold_type: String§value: f64Trait Implementations§
Source§impl Clone for QuorumThreshold
impl Clone for QuorumThreshold
Source§fn clone(&self) -> QuorumThreshold
fn clone(&self) -> QuorumThreshold
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 QuorumThreshold
impl Debug for QuorumThreshold
Source§impl Default for QuorumThreshold
impl Default for QuorumThreshold
Source§impl<'de> Deserialize<'de> for QuorumThreshold
impl<'de> Deserialize<'de> for QuorumThreshold
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
Auto Trait Implementations§
impl Freeze for QuorumThreshold
impl RefUnwindSafe for QuorumThreshold
impl Send for QuorumThreshold
impl Sync for QuorumThreshold
impl Unpin for QuorumThreshold
impl UnsafeUnpin for QuorumThreshold
impl UnwindSafe for QuorumThreshold
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