pub struct ValidatorProfile {
pub node_ip: IpAddr,
pub name: String,
pub description: String,
pub delegations_disabled: bool,
pub commission_bps: u64,
pub signer: Address,
}Expand description
A new validator’s profile.
Fields§
§node_ip: IpAddrThe validator node’s IP address.
name: StringThe validator’s name.
description: StringThe validator’s description.
delegations_disabled: boolWhether the validator refuses delegations.
commission_bps: u64The commission, as the integer the venue takes.
signer: AddressThe address that signs for the validator node.
Implementations§
Trait Implementations§
Source§impl Clone for ValidatorProfile
impl Clone for ValidatorProfile
Source§impl Debug for ValidatorProfile
impl Debug for ValidatorProfile
impl Eq for ValidatorProfile
Source§impl PartialEq for ValidatorProfile
impl PartialEq for ValidatorProfile
impl StructuralPartialEq for ValidatorProfile
Auto Trait Implementations§
impl Forget for ValidatorProfile
impl Freeze for ValidatorProfile
impl Move for ValidatorProfile
impl RefUnwindSafe for ValidatorProfile
impl Send for ValidatorProfile
impl Sync for ValidatorProfile
impl Unpin for ValidatorProfile
impl UnsafeUnpin for ValidatorProfile
impl UnwindSafe for ValidatorProfile
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.