pub struct ArchiveCommand {Show 23 fields
pub url: Option<String>,
pub input: Option<PathBuf>,
pub archive_id: Option<String>,
pub full_site: bool,
pub allow_cross_domain: bool,
pub concurrency: Option<usize>,
pub delay_ms: Option<u64>,
pub max_depth: Option<usize>,
pub max_pages: Option<usize>,
pub include_url_patterns: Vec<String>,
pub exclude_url_patterns: Vec<String>,
pub max_page_size_bytes: Option<u64>,
pub max_asset_size_bytes: Option<u64>,
pub max_total_archive_size_bytes: Option<u64>,
pub archive_profile: Option<CliArchiveProfile>,
pub render_js: bool,
pub render_js_auto: bool,
pub browser_command: Option<String>,
pub browser_profile: Option<PathBuf>,
pub render_wait_ms: Option<u64>,
pub headers: Vec<String>,
pub cookie: Option<String>,
pub progress: CliProgressMode,
}Fields§
§url: Option<String>§input: Option<PathBuf>§archive_id: Option<String>§full_site: bool§allow_cross_domain: bool§concurrency: Option<usize>§delay_ms: Option<u64>§max_depth: Option<usize>§max_pages: Option<usize>§include_url_patterns: Vec<String>§exclude_url_patterns: Vec<String>§max_page_size_bytes: Option<u64>§max_asset_size_bytes: Option<u64>§max_total_archive_size_bytes: Option<u64>§archive_profile: Option<CliArchiveProfile>§render_js: bool§render_js_auto: bool§browser_command: Option<String>§browser_profile: Option<PathBuf>§render_wait_ms: Option<u64>§headers: Vec<String>§progress: CliProgressModeTrait Implementations§
Source§impl Args for ArchiveCommand
impl Args for ArchiveCommand
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 Debug for ArchiveCommand
impl Debug for ArchiveCommand
Source§impl FromArgMatches for ArchiveCommand
impl FromArgMatches for ArchiveCommand
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 ArchiveCommand
impl RefUnwindSafe for ArchiveCommand
impl Send for ArchiveCommand
impl Sync for ArchiveCommand
impl Unpin for ArchiveCommand
impl UnsafeUnpin for ArchiveCommand
impl UnwindSafe for ArchiveCommand
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