pub struct InstallArgs {
pub check: bool,
pub dev: bool,
}Expand description
Install or update fdl globally (~/.local/bin/fdl).
Fields§
§check: boolCheck for updates without installing.
dev: boolSymlink to the current binary (tracks local builds).
Trait Implementations§
Source§impl Debug for InstallArgs
impl Debug for InstallArgs
Source§impl FdlArgsTrait for InstallArgs
impl FdlArgsTrait for InstallArgs
Source§fn try_parse_from(args: &[String]) -> Result<Self, String>
fn try_parse_from(args: &[String]) -> Result<Self, String>
Parse from an explicit argv slice. First element is the program
name (ignored), following elements are flags/values/positionals.
Source§fn render_help() -> String
fn render_help() -> String
Render
--help to a string.Source§fn render_help_path(argv: &[String]) -> String
fn render_help_path(argv: &[String]) -> String
Render
--help for a specific argv path (program name first, then
the tokens typed). The default ignores the path and returns
Self::render_help — correct for a single struct, whose help is
context-free. Read moreAuto Trait Implementations§
impl Freeze for InstallArgs
impl RefUnwindSafe for InstallArgs
impl Send for InstallArgs
impl Sync for InstallArgs
impl Unpin for InstallArgs
impl UnsafeUnpin for InstallArgs
impl UnwindSafe for InstallArgs
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