pub struct GetValidatorRequest {
pub pubkey: PubkeyHex,
}Expand description
get_validator — look up a validator by pubkey.
Fields§
§pubkey: PubkeyHexValidator’s BLS pubkey.
Implementations§
Trait Implementations§
Source§impl Clone for GetValidatorRequest
impl Clone for GetValidatorRequest
Source§fn clone(&self) -> GetValidatorRequest
fn clone(&self) -> GetValidatorRequest
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 GetValidatorRequest
impl Debug for GetValidatorRequest
Source§impl<'de> Deserialize<'de> for GetValidatorRequest
impl<'de> Deserialize<'de> for GetValidatorRequest
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 GetValidatorRequest
impl RefUnwindSafe for GetValidatorRequest
impl Send for GetValidatorRequest
impl Sync for GetValidatorRequest
impl Unpin for GetValidatorRequest
impl UnsafeUnpin for GetValidatorRequest
impl UnwindSafe for GetValidatorRequest
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