Struct safecoin_client::rpc_response::Response
source · pub struct Response<T> {
pub context: RpcResponseContext,
pub value: T,
}
Fields§
§context: RpcResponseContext
§value: T
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for Response<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Response<T>where T: Deserialize<'de>,
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
source§impl<T: PartialEq> PartialEq<Response<T>> for Response<T>
impl<T: PartialEq> PartialEq<Response<T>> for Response<T>
impl<T: Eq> Eq for Response<T>
impl<T> StructuralEq for Response<T>
impl<T> StructuralPartialEq for Response<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Response<T>where T: RefUnwindSafe,
impl<T> Send for Response<T>where T: Send,
impl<T> Sync for Response<T>where T: Sync,
impl<T> Unpin for Response<T>where T: Unpin,
impl<T> UnwindSafe for Response<T>where T: UnwindSafe,
Blanket Implementations§
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.