Struct tendermint_testgen::header::Header [−][src]
pub struct Header { pub validators: Option<Vec<Validator>>, pub next_validators: Option<Vec<Validator>>, pub chain_id: Option<String>, pub height: Option<u64>, pub time: Option<u64>, pub proposer: Option<usize>, pub last_block_id_hash: Option<Hash>, }
Fields
validators: Option<Vec<Validator>>
next_validators: Option<Vec<Validator>>
chain_id: Option<String>
height: Option<u64>
time: Option<u64>
proposer: Option<usize>
last_block_id_hash: Option<Hash>
Implementations
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
Merge this companion with the another, default one. The options present in this object will override those in the default one. Read more
Generate the complex object from this companion object.
Generate and serialize the complex object
Parses arguments until the given parser is exhausted or until an error is encountered. Read more
Returns the subcommand instance, if present. Read more
Returns the name of a parsed command, if present. Read more
Returns whether the user supplied a “help” option to request usage information about the program or any contained subcommands. Read more
Parses options for the named command.
Returns a string showing usage and help for each supported option. Read more
Returns a string showing usage and help for this options instance. Read more
Returns a string listing available commands and help text. Read more
Returns a usage string for the named command. Read more
Returns a listing of available commands and help text. Read more
Parses arguments received from the command line. Read more
Parses arguments from the environment. Read more
Parses arguments from the environment, using the default parsing style. Read more
Auto Trait Implementations
impl RefUnwindSafe for Header
impl UnwindSafe for Header
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V