pub struct QuorumArgs {
data_dir: PathBuf,
from: Option<u32>,
to: Option<u32>,
publishers: Vec<String>,
threshold: usize,
local: Vec<String>,
negative_unl: Vec<String>,
details: bool,
}Fields§
§data_dir: PathBufArchive root: segments/, manifests/, unl/.
from: Option<u32>First ledger of the range. Defaults to 1000 ledgers ending one late-arrival window before the edge of the archive: validations for the latest ledgers are still in the open segment.
to: Option<u32>§publishers: Vec<String>List publisher keys in hex. Defaults to xrpld’s default publishers.
threshold: usizeHow many lists must contain a key. 0 means the xrpld default.
local: Vec<String>Keys trusted directly, like the [validators] section of the xrpld
config. Either n9... form or hex.
negative_unl: Vec<String>Master keys disabled by the Negative UNL, in hex, for ledgers the archive
has no observation for (negative_unl/observations.jsonl).
details: boolShow a breakdown of every unconfirmed ledger.
Trait Implementations§
Source§impl Args for QuorumArgs
impl Args for QuorumArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for QuorumArgs
impl Debug for QuorumArgs
Source§impl FromArgMatches for QuorumArgs
impl FromArgMatches for QuorumArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for QuorumArgs
impl RefUnwindSafe for QuorumArgs
impl Send for QuorumArgs
impl Sync for QuorumArgs
impl Unpin for QuorumArgs
impl UnsafeUnpin for QuorumArgs
impl UnwindSafe for QuorumArgs
Blanket Implementations§
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