pub struct Validator {Show 18 fields
pub account: Option<Vec<AccountEntry>>,
pub account_dir: Option<Vec<AccountDirEntry>>,
pub bind_address: String,
pub clone: Option<Vec<CloneEntry>>,
pub dynamic_port_range: Option<String>,
pub faucet_port: Option<u16>,
pub faucet_sol: Option<String>,
pub geyser_plugin_config: Option<String>,
pub gossip_host: Option<String>,
pub gossip_port: Option<u16>,
pub url: Option<String>,
pub ledger: String,
pub limit_ledger_size: Option<String>,
pub rpc_port: u16,
pub slots_per_epoch: Option<String>,
pub ticks_per_slot: Option<u16>,
pub warp_slot: Option<String>,
pub deactivate_feature: Option<Vec<String>>,
}Fields§
§account: Option<Vec<AccountEntry>>§account_dir: Option<Vec<AccountDirEntry>>§bind_address: String§clone: Option<Vec<CloneEntry>>§dynamic_port_range: Option<String>§faucet_port: Option<u16>§faucet_sol: Option<String>§geyser_plugin_config: Option<String>§gossip_host: Option<String>§gossip_port: Option<u16>§url: Option<String>§ledger: String§limit_ledger_size: Option<String>§rpc_port: u16§slots_per_epoch: Option<String>§ticks_per_slot: Option<u16>§warp_slot: Option<String>§deactivate_feature: Option<Vec<String>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Validator
impl<'de> Deserialize<'de> for Validator
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<Validator> for _Validator
impl From<Validator> for _Validator
Source§impl From<_Validator> for Validator
impl From<_Validator> for Validator
Source§fn from(_validator: _Validator) -> Self
fn from(_validator: _Validator) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Validator
impl RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnwindSafe for Validator
Blanket Implementations§
Source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
Source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more