pub struct EpochContent {
pub epoch: i32,
pub start_time: i32,
pub end_time: i32,
pub first_block_time: i32,
pub last_block_time: i32,
pub block_count: i32,
pub tx_count: i32,
pub output: String,
pub fees: String,
pub active_stake: Option<String>,
}Fields§
§epoch: i32Epoch number
start_time: i32Unix time of the start of the epoch
end_time: i32Unix time of the end of the epoch
first_block_time: i32Unix time of the first block of the epoch
last_block_time: i32Unix time of the last block of the epoch
block_count: i32Number of blocks within the epoch
tx_count: i32Number of transactions within the epoch
output: StringSum of all the transactions within the epoch in Lovelaces
fees: StringSum of all the fees within the epoch in Lovelaces
active_stake: Option<String>Sum of all the active stakes within the epoch in Lovelaces
Implementations§
Trait Implementations§
Source§impl Clone for EpochContent
impl Clone for EpochContent
Source§fn clone(&self) -> EpochContent
fn clone(&self) -> EpochContent
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 EpochContent
impl Debug for EpochContent
Source§impl Default for EpochContent
impl Default for EpochContent
Source§fn default() -> EpochContent
fn default() -> EpochContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EpochContent
impl<'de> Deserialize<'de> for EpochContent
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 EpochContent
impl PartialEq for EpochContent
Source§impl Serialize for EpochContent
impl Serialize for EpochContent
impl StructuralPartialEq for EpochContent
Auto Trait Implementations§
impl Freeze for EpochContent
impl RefUnwindSafe for EpochContent
impl Send for EpochContent
impl Sync for EpochContent
impl Unpin for EpochContent
impl UnwindSafe for EpochContent
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