pub struct Block {Show 14 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 pool: Option<String>,
pub op_cert_counter: u64,
pub proto_major: u64,
pub proto_minor: u64,
pub parent_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§pool: Option<String>§op_cert_counter: u64§proto_major: u64§proto_minor: u64§parent_hash: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Block
impl<'de> Deserialize<'de> for Block
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 Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
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