pub struct AbstentionRules {
pub counts_toward_quorum: bool,
pub interpretation: String,
}Fields§
§counts_toward_quorum: bool§interpretation: StringTrait Implementations§
Source§impl Clone for AbstentionRules
impl Clone for AbstentionRules
Source§fn clone(&self) -> AbstentionRules
fn clone(&self) -> AbstentionRules
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 AbstentionRules
impl Debug for AbstentionRules
Source§impl Default for AbstentionRules
impl Default for AbstentionRules
Source§impl<'de> Deserialize<'de> for AbstentionRules
impl<'de> Deserialize<'de> for AbstentionRules
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 AbstentionRules
impl RefUnwindSafe for AbstentionRules
impl Send for AbstentionRules
impl Sync for AbstentionRules
impl Unpin for AbstentionRules
impl UnsafeUnpin for AbstentionRules
impl UnwindSafe for AbstentionRules
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