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.
Auto Trait Implementations§
impl RefUnwindSafe for TestValidator
impl Send for TestValidator
impl Sync for TestValidator
impl Unpin for TestValidator
impl UnwindSafe for TestValidator
Blanket Implementations§
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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