Struct grin_chain::types::TxHashsetDownloadStats
source · pub struct TxHashsetDownloadStats {
pub start_time: DateTime<Utc>,
pub prev_update_time: DateTime<Utc>,
pub update_time: DateTime<Utc>,
pub prev_downloaded_size: u64,
pub downloaded_size: u64,
pub total_size: u64,
}
Expand description
Stats for TxHashsetDownload stage
Fields§
§start_time: DateTime<Utc>
when download started
prev_update_time: DateTime<Utc>
time of the previous update
update_time: DateTime<Utc>
time of the latest update
prev_downloaded_size: u64
size of the previous chunk
downloaded_size: u64
size of the the latest chunk
total_size: u64
downloaded since the start
Trait Implementations§
source§impl Clone for TxHashsetDownloadStats
impl Clone for TxHashsetDownloadStats
source§fn clone(&self) -> TxHashsetDownloadStats
fn clone(&self) -> TxHashsetDownloadStats
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 TxHashsetDownloadStats
impl Debug for TxHashsetDownloadStats
source§impl Default for TxHashsetDownloadStats
impl Default for TxHashsetDownloadStats
source§impl<'de> Deserialize<'de> for TxHashsetDownloadStats
impl<'de> Deserialize<'de> for TxHashsetDownloadStats
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 TxHashsetDownloadStats
impl PartialEq for TxHashsetDownloadStats
source§fn eq(&self, other: &TxHashsetDownloadStats) -> bool
fn eq(&self, other: &TxHashsetDownloadStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TxHashsetDownloadStats
impl Serialize for TxHashsetDownloadStats
impl Copy for TxHashsetDownloadStats
impl Eq for TxHashsetDownloadStats
impl StructuralPartialEq for TxHashsetDownloadStats
Auto Trait Implementations§
impl Freeze for TxHashsetDownloadStats
impl RefUnwindSafe for TxHashsetDownloadStats
impl Send for TxHashsetDownloadStats
impl Sync for TxHashsetDownloadStats
impl Unpin for TxHashsetDownloadStats
impl UnwindSafe for TxHashsetDownloadStats
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<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.