Struct tea_sdk::actors::env::GetApplyValidatorRequest
pub struct GetApplyValidatorRequest;
Expand description
Base request to check if the current node is a validator or not.
Trait Implementations§
§impl Clone for GetApplyValidatorRequest
impl Clone for GetApplyValidatorRequest
§fn clone(&self) -> GetApplyValidatorRequest
fn clone(&self) -> GetApplyValidatorRequest
Returns a copy 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 more§impl Debug for GetApplyValidatorRequest
impl Debug for GetApplyValidatorRequest
§impl<'de> Deserialize<'de> for GetApplyValidatorRequest
impl<'de> Deserialize<'de> for GetApplyValidatorRequest
§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetApplyValidatorRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<GetApplyValidatorRequest, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Request for GetApplyValidatorRequest
impl Request for GetApplyValidatorRequest
§impl Serialize for GetApplyValidatorRequest
impl Serialize for GetApplyValidatorRequest
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for GetApplyValidatorRequest
impl Send for GetApplyValidatorRequest
impl Sync for GetApplyValidatorRequest
impl Unpin for GetApplyValidatorRequest
impl UnwindSafe for GetApplyValidatorRequest
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