Struct poseidon_client::GetTransaction
source · [−]Fields
jsonrpc: Stringid: u8result: Option<RpcResult>Implementations
sourceimpl GetTransaction
impl GetTransaction
pub async fn process(transaction: &str) -> PoseidonResult<GetTransaction>
pub fn transaction(&self) -> PoseidonResult<Transaction>
Trait Implementations
sourceimpl BorshDeserialize for GetTransaction where
String: BorshDeserialize,
u8: BorshDeserialize,
Option<RpcResult>: BorshDeserialize,
impl BorshDeserialize for GetTransaction where
String: BorshDeserialize,
u8: BorshDeserialize,
Option<RpcResult>: BorshDeserialize,
sourceimpl BorshSerialize for GetTransaction where
String: BorshSerialize,
u8: BorshSerialize,
Option<RpcResult>: BorshSerialize,
impl BorshSerialize for GetTransaction where
String: BorshSerialize,
u8: BorshSerialize,
Option<RpcResult>: BorshSerialize,
sourceimpl Clone for GetTransaction
impl Clone for GetTransaction
sourcefn clone(&self) -> GetTransaction
fn clone(&self) -> GetTransaction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetTransaction
impl Debug for GetTransaction
sourceimpl<'de> Deserialize<'de> for GetTransaction
impl<'de> Deserialize<'de> for GetTransaction
sourcefn 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
sourceimpl PartialEq<GetTransaction> for GetTransaction
impl PartialEq<GetTransaction> for GetTransaction
sourcefn eq(&self, other: &GetTransaction) -> bool
fn eq(&self, other: &GetTransaction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetTransaction) -> bool
fn ne(&self, other: &GetTransaction) -> bool
This method tests for !=.
sourceimpl Serialize for GetTransaction
impl Serialize for GetTransaction
impl StructuralPartialEq for GetTransaction
Auto Trait Implementations
impl RefUnwindSafe for GetTransaction
impl Send for GetTransaction
impl Sync for GetTransaction
impl Unpin for GetTransaction
impl UnwindSafe for GetTransaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more