pub struct GovernanceAcceptanceCriteria {
pub minimum_stake_participation: Option<Ratio>,
pub minimum_approval: Option<Ratio>,
pub blank: Choice,
pub favorable: Choice,
pub rejection: Choice,
pub options: Options,
}
Fields§
§minimum_stake_participation: Option<Ratio>
§minimum_approval: Option<Ratio>
§blank: Choice
§favorable: Choice
§rejection: Choice
§options: Options
Trait Implementations§
source§impl Clone for GovernanceAcceptanceCriteria
impl Clone for GovernanceAcceptanceCriteria
source§fn clone(&self) -> GovernanceAcceptanceCriteria
fn clone(&self) -> GovernanceAcceptanceCriteria
Returns a copy of the value. Read more
1.0.0 · 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 GovernanceAcceptanceCriteria
impl Debug for GovernanceAcceptanceCriteria
source§impl PartialEq<GovernanceAcceptanceCriteria> for GovernanceAcceptanceCriteria
impl PartialEq<GovernanceAcceptanceCriteria> for GovernanceAcceptanceCriteria
source§fn eq(&self, other: &GovernanceAcceptanceCriteria) -> bool
fn eq(&self, other: &GovernanceAcceptanceCriteria) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GovernanceAcceptanceCriteria
impl StructuralEq for GovernanceAcceptanceCriteria
impl StructuralPartialEq for GovernanceAcceptanceCriteria
Auto Trait Implementations§
impl RefUnwindSafe for GovernanceAcceptanceCriteria
impl Send for GovernanceAcceptanceCriteria
impl Sync for GovernanceAcceptanceCriteria
impl Unpin for GovernanceAcceptanceCriteria
impl UnwindSafe for GovernanceAcceptanceCriteria
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