Struct anchor_cli::config::TestValidator
source · pub struct TestValidator {
pub genesis: Option<Vec<GenesisEntry>>,
pub validator: Option<Validator>,
pub startup_wait: i32,
pub shutdown_wait: i32,
}Fields§
§genesis: Option<Vec<GenesisEntry>>§validator: Option<Validator>§startup_wait: i32§shutdown_wait: i32Trait Implementations§
source§impl Clone for TestValidator
impl Clone for TestValidator
source§fn clone(&self) -> TestValidator
fn clone(&self) -> TestValidator
Returns a copy 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 TestValidator
impl Debug for TestValidator
source§impl Default for TestValidator
impl Default for TestValidator
source§fn default() -> TestValidator
fn default() -> TestValidator
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TestValidator
impl<'de> Deserialize<'de> for TestValidator
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 From<TestValidator> for _TestValidator
impl From<TestValidator> for _TestValidator
source§fn from(test_validator: TestValidator) -> Self
fn from(test_validator: TestValidator) -> Self
Converts to this type from the input type.
source§impl From<_TestValidator> for TestValidator
impl From<_TestValidator> for TestValidator
source§fn from(_test_validator: _TestValidator) -> Self
fn from(_test_validator: _TestValidator) -> Self
Converts to this type from the input type.