pub struct ProfileChange {
pub node_ip: Option<IpAddr>,
pub name: Option<String>,
pub description: Option<String>,
pub unjailed: bool,
pub disable_delegations: Option<bool>,
pub commission_bps: Option<u64>,
pub signer: Option<Address>,
}Expand description
A change to a validator’s profile. Every None is sent as null and
leaves that field as it is; unjailed is always sent.
Fields§
§node_ip: Option<IpAddr>The new node IP address (node_ip, sent as {"Ip":..}).
name: Option<String>The new name.
description: Option<String>The new description.
unjailed: boolWhether the validator is unjailed after the change.
disable_delegations: Option<bool>Whether the validator refuses delegations (disable_delegations).
commission_bps: Option<u64>The new commission (commission_bps), as the integer the venue takes.
signer: Option<Address>The new address that signs for the validator node.
Implementations§
Trait Implementations§
Source§impl Clone for ProfileChange
impl Clone for ProfileChange
Source§impl Debug for ProfileChange
impl Debug for ProfileChange
Source§impl Default for ProfileChange
impl Default for ProfileChange
impl Eq for ProfileChange
Source§impl PartialEq for ProfileChange
impl PartialEq for ProfileChange
impl StructuralPartialEq for ProfileChange
Auto Trait Implementations§
impl Forget for ProfileChange
impl Freeze for ProfileChange
impl Move for ProfileChange
impl RefUnwindSafe for ProfileChange
impl Send for ProfileChange
impl Sync for ProfileChange
impl Unpin for ProfileChange
impl UnsafeUnpin for ProfileChange
impl UnwindSafe for ProfileChange
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.