Struct unc_jsonrpc_client::methods::query::RpcQueryResponse
source · pub struct RpcQueryResponse {
pub kind: QueryResponseKind,
pub block_height: u64,
pub block_hash: CryptoHash,
}
Fields§
§kind: QueryResponseKind
§block_height: u64
§block_hash: CryptoHash
Trait Implementations§
source§impl Debug for RpcQueryResponse
impl Debug for RpcQueryResponse
source§impl<'de> Deserialize<'de> for RpcQueryResponse
impl<'de> Deserialize<'de> for RpcQueryResponse
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<RpcQueryResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RpcQueryResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for RpcQueryResponse
impl Serialize for RpcQueryResponse
source§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 Freeze for RpcQueryResponse
impl RefUnwindSafe for RpcQueryResponse
impl Send for RpcQueryResponse
impl Sync for RpcQueryResponse
impl Unpin for RpcQueryResponse
impl UnwindSafe for RpcQueryResponse
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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