pub struct ValidatorInfoResponse {
pub id: u64,
pub power: u64,
pub public_key: String,
}Expand description
Validator info returned by get_validators
Fields§
§id: u64§power: u64§public_key: StringTrait Implementations§
Source§impl Clone for ValidatorInfoResponse
impl Clone for ValidatorInfoResponse
Source§fn clone(&self) -> ValidatorInfoResponse
fn clone(&self) -> ValidatorInfoResponse
Returns a duplicate 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 ValidatorInfoResponse
impl Debug for ValidatorInfoResponse
Auto Trait Implementations§
impl Freeze for ValidatorInfoResponse
impl RefUnwindSafe for ValidatorInfoResponse
impl Send for ValidatorInfoResponse
impl Sync for ValidatorInfoResponse
impl Unpin for ValidatorInfoResponse
impl UnsafeUnpin for ValidatorInfoResponse
impl UnwindSafe for ValidatorInfoResponse
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