Struct tea_sdk::actors::env::GetApplyValidatorResponse
pub struct GetApplyValidatorResponse(pub bool);
Expand description
Base response from checking if current node is a validator or not.
Tuple Fields§
§0: bool
Trait Implementations§
§impl Clone for GetApplyValidatorResponse
impl Clone for GetApplyValidatorResponse
§fn clone(&self) -> GetApplyValidatorResponse
fn clone(&self) -> GetApplyValidatorResponse
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 GetApplyValidatorResponse
impl Debug for GetApplyValidatorResponse
§impl<'de> Deserialize<'de> for GetApplyValidatorResponse
impl<'de> Deserialize<'de> for GetApplyValidatorResponse
§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetApplyValidatorResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<GetApplyValidatorResponse, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for GetApplyValidatorResponse
impl Serialize for GetApplyValidatorResponse
§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 GetApplyValidatorResponse
impl Send for GetApplyValidatorResponse
impl Sync for GetApplyValidatorResponse
impl Unpin for GetApplyValidatorResponse
impl UnwindSafe for GetApplyValidatorResponse
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