pub struct BlockInfo {Show 19 fields
pub hash: String,
pub epoch_no: u64,
pub abs_slot: u64,
pub epoch_slot: u64,
pub block_height: Option<u64>,
pub block_size: u64,
pub block_time: u64,
pub tx_count: u64,
pub vrf_key: String,
pub op_cert: String,
pub op_cert_counter: u64,
pub pool: Option<String>,
pub proto_major: u64,
pub proto_minor: u64,
pub total_output: Option<String>,
pub total_fees: Option<String>,
pub num_confirmations: u64,
pub parent_hash: String,
pub child_hash: String,
}Fields§
§hash: String§epoch_no: u64§abs_slot: u64§epoch_slot: u64§block_height: Option<u64>§block_size: u64§block_time: u64§tx_count: u64§vrf_key: String§op_cert: String§op_cert_counter: u64§pool: Option<String>§proto_major: u64§proto_minor: u64§total_output: Option<String>§total_fees: Option<String>§num_confirmations: u64§parent_hash: String§child_hash: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for BlockInfo
impl<'de> Deserialize<'de> for BlockInfo
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 BlockInfo
impl RefUnwindSafe for BlockInfo
impl Send for BlockInfo
impl Sync for BlockInfo
impl Unpin for BlockInfo
impl UnwindSafe for BlockInfo
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