pub struct TransactionStatus {
pub slot: u64,
pub confirmations: Option<usize>,
pub status: Result<()>,
pub err: Option<TransactionError>,
pub confirmation_status: Option<TransactionConfirmationStatus>,
}
Fields§
§slot: u64
§confirmations: Option<usize>
§status: Result<()>
§err: Option<TransactionError>
§confirmation_status: Option<TransactionConfirmationStatus>
Implementations§
Source§impl TransactionStatus
impl TransactionStatus
pub fn satisfies_commitment(&self, commitment_config: CommitmentConfig) -> bool
pub fn confirmation_status(&self) -> TransactionConfirmationStatus
Trait Implementations§
Source§impl Clone for TransactionStatus
impl Clone for TransactionStatus
Source§fn clone(&self) -> TransactionStatus
fn clone(&self) -> TransactionStatus
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 Debug for TransactionStatus
impl Debug for TransactionStatus
Source§impl<'de> Deserialize<'de> for TransactionStatus
impl<'de> Deserialize<'de> for TransactionStatus
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 PartialEq for TransactionStatus
impl PartialEq for TransactionStatus
Source§impl Serialize for TransactionStatus
impl Serialize for TransactionStatus
impl Eq for TransactionStatus
impl StructuralPartialEq for TransactionStatus
Auto Trait Implementations§
impl Freeze for TransactionStatus
impl RefUnwindSafe for TransactionStatus
impl Send for TransactionStatus
impl Sync for TransactionStatus
impl Unpin for TransactionStatus
impl UnwindSafe for TransactionStatus
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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