pub struct CliConfig<'a> {Show 15 fields
pub command: CliCommand,
pub json_rpc_url: String,
pub websocket_url: String,
pub keypair_path: String,
pub commitment: CommitmentConfig,
pub signers: Vec<&'a dyn Signer>,
pub rpc_client: Option<Arc<RpcClient>>,
pub rpc_timeout: Duration,
pub verbose: bool,
pub output_format: OutputFormat,
pub send_transaction_config: RpcSendTransactionConfig,
pub confirm_transaction_initial_timeout: Duration,
pub address_labels: HashMap<String, String>,
pub use_quic: bool,
pub use_tpu_client: bool,
}
Fields§
§command: CliCommand
§json_rpc_url: String
§websocket_url: String
§keypair_path: String
§commitment: CommitmentConfig
§signers: Vec<&'a dyn Signer>
§rpc_client: Option<Arc<RpcClient>>
§rpc_timeout: Duration
§verbose: bool
§output_format: OutputFormat
§send_transaction_config: RpcSendTransactionConfig
§confirm_transaction_initial_timeout: Duration
§address_labels: HashMap<String, String>
§use_quic: bool
§use_tpu_client: bool
Implementations§
Source§impl CliConfig<'_>
impl CliConfig<'_>
pub fn recent_for_tests() -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CliConfig<'a>
impl<'a> !RefUnwindSafe for CliConfig<'a>
impl<'a> !Send for CliConfig<'a>
impl<'a> !Sync for CliConfig<'a>
impl<'a> Unpin for CliConfig<'a>
impl<'a> !UnwindSafe for CliConfig<'a>
Blanket Implementations§
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> 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