pub struct GovernanceConfigResult {
pub proposal_fee: String,
pub lost_proposal_fee: String,
pub min_quorum: String,
pub min_veto_threshold: String,
pub min_pass_threshold: String,
pub last_proposal_nonce: u64,
}Fields§
§proposal_fee: String§lost_proposal_fee: String§min_quorum: String§min_veto_threshold: String§min_pass_threshold: String§last_proposal_nonce: u64Trait Implementations§
Source§impl Clone for GovernanceConfigResult
impl Clone for GovernanceConfigResult
Source§fn clone(&self) -> GovernanceConfigResult
fn clone(&self) -> GovernanceConfigResult
Returns a duplicate 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 GovernanceConfigResult
impl Debug for GovernanceConfigResult
Source§impl Default for GovernanceConfigResult
impl Default for GovernanceConfigResult
Source§fn default() -> GovernanceConfigResult
fn default() -> GovernanceConfigResult
Returns the “default value” for a type. Read more
Source§impl TopDecodeMulti for GovernanceConfigResult
impl TopDecodeMulti for GovernanceConfigResult
fn multi_decode_or_handle_err<I, H>(
input: &mut I,
h: H,
) -> Result<Self, H::HandledErr>where
I: TopDecodeMultiInput,
H: DecodeErrorHandler,
Source§const IS_SINGLE_VALUE: bool = false
const IS_SINGLE_VALUE: bool = false
Used to optimize single value loading of endpoint arguments.
fn multi_decode<I>(input: &mut I) -> Result<Self, DecodeError>where
I: TopDecodeMultiInput,
Auto Trait Implementations§
impl Freeze for GovernanceConfigResult
impl RefUnwindSafe for GovernanceConfigResult
impl Send for GovernanceConfigResult
impl Sync for GovernanceConfigResult
impl Unpin for GovernanceConfigResult
impl UnwindSafe for GovernanceConfigResult
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