pub struct BlockInfoData {Show 19 fields
pub absolute_slot: i64,
pub block_producer: String,
pub confirmations: i64,
pub epoch: i64,
pub epoch_slot: i64,
pub era: String,
pub hash: String,
pub height: i64,
pub operational_certificate: OperationalCertificate,
pub previous_block: String,
pub protocol_version: Vec<i32>,
pub script_invocations: i32,
pub size: i32,
pub timestamp: String,
pub total_ex_units: TotalExUnits,
pub total_fees: i64,
pub total_output_lovelace: String,
pub tx_hashes: Vec<String>,
pub vrf_key: String,
}
Fields§
§absolute_slot: i64
§block_producer: String
§confirmations: i64
§epoch: i64
§epoch_slot: i64
§era: String
§hash: String
§height: i64
§operational_certificate: OperationalCertificate
§previous_block: String
§protocol_version: Vec<i32>
§script_invocations: i32
§size: i32
§timestamp: String
§total_ex_units: TotalExUnits
§total_fees: i64
§total_output_lovelace: String
§tx_hashes: Vec<String>
§vrf_key: String
Trait Implementations§
Source§impl Clone for BlockInfoData
impl Clone for BlockInfoData
Source§fn clone(&self) -> BlockInfoData
fn clone(&self) -> BlockInfoData
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 BlockInfoData
impl Debug for BlockInfoData
Source§impl<'de> Deserialize<'de> for BlockInfoData
impl<'de> Deserialize<'de> for BlockInfoData
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
Auto Trait Implementations§
impl Freeze for BlockInfoData
impl RefUnwindSafe for BlockInfoData
impl Send for BlockInfoData
impl Sync for BlockInfoData
impl Unpin for BlockInfoData
impl UnwindSafe for BlockInfoData
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