pub struct BrowseArgs {
pub url: String,
pub format: String,
pub output: Option<String>,
pub port: u16,
pub oneshot: bool,
pub js_timeout: Option<u32>,
}Fields§
§url: StringURL to fetch
format: StringOutput format: raw|json|markdown|agent|summary|minimal|section|a11y|tree|reader|form (or 0-10)
output: Option<String>Output to file instead of stdout
port: u16Daemon port (auto-detected if not set)
oneshot: boolForce oneshot mode (don’t try daemon)
js_timeout: Option<u32>JS timeout in ms (oneshot only)
Trait Implementations§
Source§impl Args for BrowseArgs
impl Args for BrowseArgs
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 FromArgMatches for BrowseArgs
impl FromArgMatches for BrowseArgs
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 BrowseArgs
impl RefUnwindSafe for BrowseArgs
impl Send for BrowseArgs
impl Sync for BrowseArgs
impl Unpin for BrowseArgs
impl UnsafeUnpin for BrowseArgs
impl UnwindSafe for BrowseArgs
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