Struct chain_impl_mockchain::ledger::governance::Governance
source · pub struct Governance {
pub treasury: TreasuryGovernance,
pub parameters: ParametersGovernance,
}
Fields§
§treasury: TreasuryGovernance
§parameters: ParametersGovernance
Trait Implementations§
source§impl Clone for Governance
impl Clone for Governance
source§fn clone(&self) -> Governance
fn clone(&self) -> Governance
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 Default for Governance
impl Default for Governance
source§fn default() -> Governance
fn default() -> Governance
Returns the “default value” for a type. Read more
source§impl PartialEq<Governance> for Governance
impl PartialEq<Governance> for Governance
source§fn eq(&self, other: &Governance) -> bool
fn eq(&self, other: &Governance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Governance
impl StructuralEq for Governance
impl StructuralPartialEq for Governance
Auto Trait Implementations§
impl RefUnwindSafe for Governance
impl Send for Governance
impl Sync for Governance
impl Unpin for Governance
impl UnwindSafe for Governance
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