pub struct GetValidatorResponse {
pub validator: Option<ValidatorSummary>,
}Expand description
Response for GetValidatorRequest. None if no such validator.
Fields§
§validator: Option<ValidatorSummary>Validator summary, or None if not found.
Trait Implementations§
Source§impl Clone for GetValidatorResponse
impl Clone for GetValidatorResponse
Source§fn clone(&self) -> GetValidatorResponse
fn clone(&self) -> GetValidatorResponse
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 GetValidatorResponse
impl Debug for GetValidatorResponse
Source§impl<'de> Deserialize<'de> for GetValidatorResponse
impl<'de> Deserialize<'de> for GetValidatorResponse
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 GetValidatorResponse
impl RefUnwindSafe for GetValidatorResponse
impl Send for GetValidatorResponse
impl Sync for GetValidatorResponse
impl Unpin for GetValidatorResponse
impl UnsafeUnpin for GetValidatorResponse
impl UnwindSafe for GetValidatorResponse
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