Struct solana_cli_output::CliEpochInfo [−][src]
pub struct CliEpochInfo {
pub epoch_info: EpochInfo,
pub average_slot_time_ms: u64,
pub start_block_time: Option<UnixTimestamp>,
pub current_block_time: Option<UnixTimestamp>,
}
Fields
epoch_info: EpochInfo
average_slot_time_ms: u64
start_block_time: Option<UnixTimestamp>
current_block_time: Option<UnixTimestamp>
Trait Implementations
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 RefUnwindSafe for CliEpochInfo
impl Send for CliEpochInfo
impl Sync for CliEpochInfo
impl Unpin for CliEpochInfo
impl UnwindSafe for CliEpochInfo
Blanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more