pub struct MsgCreateValidator {
pub commission: ValidatorCommission,
pub delegator_address: String,
pub description: ValidatorDescription,
pub min_self_delegation: Decimal,
pub pubkey: String,
pub value: Coin,
pub validator_address: String,
}
Expand description
create validator message
Fields§
§commission: ValidatorCommission
§delegator_address: String
§description: ValidatorDescription
§min_self_delegation: Decimal
§pubkey: String
§value: Coin
§validator_address: String
Implementations§
Source§impl MsgCreateValidator
impl MsgCreateValidator
pub fn create( description: ValidatorDescription, commission: ValidatorCommission, min_self_delegation: Decimal, delegator_address: String, validator_address: String, pubkey: String, value: Coin, ) -> Message
Trait Implementations§
Source§impl Debug for MsgCreateValidator
impl Debug for MsgCreateValidator
Source§impl Serialize for MsgCreateValidator
impl Serialize for MsgCreateValidator
impl MsgInternal for MsgCreateValidator
Auto Trait Implementations§
impl Freeze for MsgCreateValidator
impl RefUnwindSafe for MsgCreateValidator
impl Send for MsgCreateValidator
impl Sync for MsgCreateValidator
impl Unpin for MsgCreateValidator
impl UnwindSafe for MsgCreateValidator
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