Struct solana_client_wasm::utils::rpc_response::WithContext
source · pub struct WithContext<T> {
pub context: RpcResponseContext,
pub value: T,
}
Fields§
§context: RpcResponseContext
§value: T
Trait Implementations§
source§impl<T: Clone> Clone for WithContext<T>
impl<T: Clone> Clone for WithContext<T>
source§fn clone(&self) -> WithContext<T>
fn clone(&self) -> WithContext<T>
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 moresource§impl<T: Debug> Debug for WithContext<T>
impl<T: Debug> Debug for WithContext<T>
source§impl<'de, T> Deserialize<'de> for WithContext<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for WithContext<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 for WithContext<T>
impl<T: PartialEq> PartialEq for WithContext<T>
source§fn eq(&self, other: &WithContext<T>) -> bool
fn eq(&self, other: &WithContext<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> Serialize for WithContext<T>where
T: Serialize,
impl<T> Serialize for WithContext<T>where
T: Serialize,
impl<T> StructuralPartialEq for WithContext<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for WithContext<T>where
T: RefUnwindSafe,
impl<T> Send for WithContext<T>where
T: Send,
impl<T> Sync for WithContext<T>where
T: Sync,
impl<T> Unpin for WithContext<T>where
T: Unpin,
impl<T> UnwindSafe for WithContext<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
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