pub struct GetTransactionParams {
pub signature: Signature,
pub commitment: Option<CommitmentLevel>,
pub max_supported_transaction_version: Option<u8>,
pub encoding: Option<GetTransactionEncoding>,
}Expand description
The parameters for a Solana getTransaction RPC method call.
Fields§
§signature: SignatureTransaction signature.
commitment: Option<CommitmentLevel>Specifies the required finality of the transaction being queried.
max_supported_transaction_version: Option<u8>Set the max transaction version to return in responses.
If the requested transaction is a higher version, an error will be returned. If this parameter is omitted, only legacy transactions will be returned, and any versioned transaction will prompt the error.
encoding: Option<GetTransactionEncoding>Encoding for the returned transaction
Trait Implementations§
Source§impl CandidType for GetTransactionParams
impl CandidType for GetTransactionParams
Source§impl Clone for GetTransactionParams
impl Clone for GetTransactionParams
Source§fn clone(&self) -> GetTransactionParams
fn clone(&self) -> GetTransactionParams
Returns a duplicate 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 Debug for GetTransactionParams
impl Debug for GetTransactionParams
Source§impl<'de> Deserialize<'de> for GetTransactionParams
impl<'de> Deserialize<'de> for GetTransactionParams
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 From<Signature> for GetTransactionParams
impl From<Signature> for GetTransactionParams
Source§impl PartialEq for GetTransactionParams
impl PartialEq for GetTransactionParams
Source§impl Serialize for GetTransactionParams
impl Serialize for GetTransactionParams
impl StructuralPartialEq for GetTransactionParams
Auto Trait Implementations§
impl Freeze for GetTransactionParams
impl RefUnwindSafe for GetTransactionParams
impl Send for GetTransactionParams
impl Sync for GetTransactionParams
impl Unpin for GetTransactionParams
impl UnwindSafe for GetTransactionParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more