pub struct CompatCli {Show 20 fields
pub app_id: Option<u32>,
pub depot_id: Option<u32>,
pub manifest_id: Option<u64>,
pub username: Option<String>,
pub password: Option<String>,
pub output: Option<PathBuf>,
pub branch: Option<String>,
pub beta_password: Option<String>,
pub qr: bool,
pub remember_password: bool,
pub filelist: Option<PathBuf>,
pub file_regex: Option<String>,
pub verify: bool,
pub os: Option<String>,
pub arch: Option<String>,
pub language: Option<String>,
pub max_downloads: Option<usize>,
pub cell_id: Option<u32>,
pub debug: bool,
pub device_name: Option<String>,
}Expand description
Legacy flat-argument CLI compatible with the original DepotDownloader. Activated with DD_COMPAT=1 environment variable.
DepotDownloader uses single-dash flags (-app, -depot, etc.).
The arg preprocessor in main() converts these to double-dash before parsing.
Fields§
§app_id: Option<u32>§depot_id: Option<u32>§manifest_id: Option<u64>§username: Option<String>§password: Option<String>§output: Option<PathBuf>§branch: Option<String>§beta_password: Option<String>§qr: bool§remember_password: bool§filelist: Option<PathBuf>§file_regex: Option<String>§verify: bool§os: Option<String>§arch: Option<String>§language: Option<String>§max_downloads: Option<usize>§cell_id: Option<u32>§debug: bool§device_name: Option<String>Implementations§
Trait Implementations§
Source§impl Args for CompatCli
impl Args for CompatCli
Source§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 CommandFactory for CompatCli
impl CommandFactory for CompatCli
Source§impl FromArgMatches for CompatCli
impl FromArgMatches for CompatCli
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.Source§impl Parser for CompatCli
impl Parser for CompatCli
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for CompatCli
impl RefUnwindSafe for CompatCli
impl Send for CompatCli
impl Sync for CompatCli
impl Unpin for CompatCli
impl UnsafeUnpin for CompatCli
impl UnwindSafe for CompatCli
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.