pub enum ParametersGovernanceAction {
NoOp,
RewardAdd {
value: Value,
},
}
Variants§
Implementations§
source§impl ParametersGovernanceAction
impl ParametersGovernanceAction
pub fn to_type(&self) -> ParametersGovernanceActionType
pub(crate) fn serialize_in(&self, bb: ByteBuilder<Self>) -> ByteBuilder<Self>
Trait Implementations§
source§impl Clone for ParametersGovernanceAction
impl Clone for ParametersGovernanceAction
source§fn clone(&self) -> ParametersGovernanceAction
fn clone(&self) -> ParametersGovernanceAction
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 ParametersGovernanceAction
impl Debug for ParametersGovernanceAction
source§impl Deserialize for ParametersGovernanceAction
impl Deserialize for ParametersGovernanceAction
fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>
fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,
source§impl PartialEq<ParametersGovernanceAction> for ParametersGovernanceAction
impl PartialEq<ParametersGovernanceAction> for ParametersGovernanceAction
source§fn eq(&self, other: &ParametersGovernanceAction) -> bool
fn eq(&self, other: &ParametersGovernanceAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParametersGovernanceAction
impl StructuralEq for ParametersGovernanceAction
impl StructuralPartialEq for ParametersGovernanceAction
Auto Trait Implementations§
impl RefUnwindSafe for ParametersGovernanceAction
impl Send for ParametersGovernanceAction
impl Sync for ParametersGovernanceAction
impl Unpin for ParametersGovernanceAction
impl UnwindSafe for ParametersGovernanceAction
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