pub struct LicenseArgs {
pub method: bool,
pub payload: bool,
pub third_party: bool,
}Expand description
Print the license terms this binary carries.
Fields§
§method: boolPrint the CC BY 4.0 text covering the method.
payload: boolPrint the MIT text covering the distribution.
third_party: boolPrint the notices for every third-party source the payload derives from.
Trait Implementations§
Source§impl Args for LicenseArgs
impl Args for LicenseArgs
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 Clone for LicenseArgs
impl Clone for LicenseArgs
Source§fn clone(&self) -> LicenseArgs
fn clone(&self) -> LicenseArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LicenseArgs
Source§impl Debug for LicenseArgs
impl Debug for LicenseArgs
Source§impl FromArgMatches for LicenseArgs
impl FromArgMatches for LicenseArgs
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 LicenseArgs
impl RefUnwindSafe for LicenseArgs
impl Send for LicenseArgs
impl Sync for LicenseArgs
impl Unpin for LicenseArgs
impl UnsafeUnpin for LicenseArgs
impl UnwindSafe for LicenseArgs
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