pub struct GetBlockResponse {Show 15 fields
pub time_point: TimePoint,
pub producer: Name,
pub confirmed: u16,
pub pevious: BlockId,
pub transaction_mroot: Checksum256,
pub action_mroot: Checksum256,
pub schedule_version: u32,
pub new_producers: Option<NewProducers>,
pub header_extensions: Option<HeaderExtension>,
pub producer_signature: Signature,
pub transactions: Vec<GetBlockResponseTransactionReceipt>,
pub block_extensions: Option<Vec<BlockExtension>>,
pub id: BlockId,
pub block_num: u32,
pub ref_block_prefix: u32,
}
Fields§
§time_point: TimePoint
§producer: Name
§confirmed: u16
§pevious: BlockId
§transaction_mroot: Checksum256
§action_mroot: Checksum256
§schedule_version: u32
§new_producers: Option<NewProducers>
§header_extensions: Option<HeaderExtension>
§producer_signature: Signature
§transactions: Vec<GetBlockResponseTransactionReceipt>
§block_extensions: Option<Vec<BlockExtension>>
§id: BlockId
§block_num: u32
§ref_block_prefix: u32
Trait Implementations§
Source§impl Clone for GetBlockResponse
impl Clone for GetBlockResponse
Source§fn clone(&self) -> GetBlockResponse
fn clone(&self) -> GetBlockResponse
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 GetBlockResponse
impl Debug for GetBlockResponse
Source§impl Default for GetBlockResponse
impl Default for GetBlockResponse
Source§fn default() -> GetBlockResponse
fn default() -> GetBlockResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetBlockResponse
impl<'de> Deserialize<'de> for GetBlockResponse
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 GetBlockResponse
impl PartialEq for GetBlockResponse
Source§impl Serialize for GetBlockResponse
impl Serialize for GetBlockResponse
impl StructuralPartialEq for GetBlockResponse
Auto Trait Implementations§
impl Freeze for GetBlockResponse
impl RefUnwindSafe for GetBlockResponse
impl Send for GetBlockResponse
impl Sync for GetBlockResponse
impl Unpin for GetBlockResponse
impl UnwindSafe for GetBlockResponse
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