pub struct SendTransactionProgress {
pub confirmed_transactions: usize,
pub total_transactions: usize,
pub block_height: u64,
pub last_valid_block_height: u64,
}
Fields§
§confirmed_transactions: usize
§total_transactions: usize
§block_height: u64
§last_valid_block_height: u64
Implementations§
Source§impl SendTransactionProgress
impl SendTransactionProgress
pub fn set_message_for_confirmed_transactions( &self, progress_bar: &ProgressBar, status: &str, )
Trait Implementations§
Source§impl Debug for SendTransactionProgress
impl Debug for SendTransactionProgress
Source§impl Default for SendTransactionProgress
impl Default for SendTransactionProgress
Source§fn default() -> SendTransactionProgress
fn default() -> SendTransactionProgress
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SendTransactionProgress
impl RefUnwindSafe for SendTransactionProgress
impl Send for SendTransactionProgress
impl Sync for SendTransactionProgress
impl Unpin for SendTransactionProgress
impl UnwindSafe for SendTransactionProgress
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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