pub struct GetActiveValidatorsResponse {
pub validators: Vec<ValidatorSummary>,
pub total: u32,
}Expand description
Response for GetActiveValidatorsRequest.
Fields§
§validators: Vec<ValidatorSummary>Active validators in this page.
total: u32Total active validators across the full set.
Trait Implementations§
Source§impl Clone for GetActiveValidatorsResponse
impl Clone for GetActiveValidatorsResponse
Source§fn clone(&self) -> GetActiveValidatorsResponse
fn clone(&self) -> GetActiveValidatorsResponse
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 GetActiveValidatorsResponse
impl Debug for GetActiveValidatorsResponse
Source§impl<'de> Deserialize<'de> for GetActiveValidatorsResponse
impl<'de> Deserialize<'de> for GetActiveValidatorsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetActiveValidatorsResponse
impl RefUnwindSafe for GetActiveValidatorsResponse
impl Send for GetActiveValidatorsResponse
impl Sync for GetActiveValidatorsResponse
impl Unpin for GetActiveValidatorsResponse
impl UnsafeUnpin for GetActiveValidatorsResponse
impl UnwindSafe for GetActiveValidatorsResponse
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