pub struct GetInfoResponse {Show 20 fields
pub server_version: String,
pub chain_id: Checksum256,
pub head_block_num: u32,
pub last_irreversible_block_num: u32,
pub last_irreversible_block_id: BlockId,
pub head_block_id: BlockId,
pub head_block_time: TimePoint,
pub head_block_producer: Name,
pub virtual_block_cpu_limit: u64,
pub virtual_block_net_limit: u64,
pub block_cpu_limit: u64,
pub block_net_limit: u64,
pub server_version_string: Option<String>,
pub fork_db_head_block_num: Option<u32>,
pub fork_db_head_block_id: Option<BlockId>,
pub server_full_version_string: String,
pub total_cpu_weight: String,
pub total_net_weight: String,
pub earliest_available_block_num: u32,
pub last_irreversible_block_time: String,
}
Fields§
§server_version: String
§chain_id: Checksum256
§head_block_num: u32
§last_irreversible_block_num: u32
§last_irreversible_block_id: BlockId
§head_block_id: BlockId
§head_block_time: TimePoint
§head_block_producer: Name
§virtual_block_cpu_limit: u64
§virtual_block_net_limit: u64
§block_cpu_limit: u64
§block_net_limit: u64
§server_version_string: Option<String>
§fork_db_head_block_num: Option<u32>
§fork_db_head_block_id: Option<BlockId>
§server_full_version_string: String
§total_cpu_weight: String
§total_net_weight: String
§earliest_available_block_num: u32
§last_irreversible_block_time: String
Implementations§
Source§impl GetInfoResponse
impl GetInfoResponse
pub fn get_transaction_header(&self, seconds_ahead: u32) -> TransactionHeader
Trait Implementations§
Source§impl Debug for GetInfoResponse
impl Debug for GetInfoResponse
Source§impl<'de> Deserialize<'de> for GetInfoResponse
impl<'de> Deserialize<'de> for GetInfoResponse
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 GetInfoResponse
impl RefUnwindSafe for GetInfoResponse
impl Send for GetInfoResponse
impl Sync for GetInfoResponse
impl Unpin for GetInfoResponse
impl UnwindSafe for GetInfoResponse
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