pub struct LocalTimeOpts {
pub local_time: bool,
pub utc_time: bool,
}Fields§
§local_time: boolIf true, write log time stamps in the local time zone (the default depends on the application)
utc_time: boolIf true, write log time stamps in UTC (the default depends on the application)
Trait Implementations§
Source§impl Args for LocalTimeOpts
impl Args for LocalTimeOpts
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§impl Clone for LocalTimeOpts
impl Clone for LocalTimeOpts
Source§fn clone(&self) -> LocalTimeOpts
fn clone(&self) -> LocalTimeOpts
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalTimeOpts
impl Debug for LocalTimeOpts
Source§impl Default for LocalTimeOpts
impl Default for LocalTimeOpts
Source§fn default() -> LocalTimeOpts
fn default() -> LocalTimeOpts
Returns the “default value” for a type. Read more
Source§impl EvalWithDefault for LocalTimeOpts
impl EvalWithDefault for LocalTimeOpts
fn explicit_yes_and_no(&self) -> (bool, bool)
fn eval_with_default(&self, default: bool) -> bool
Source§impl FromArgMatches for LocalTimeOpts
impl FromArgMatches for LocalTimeOpts
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 LocalTimeOpts
impl RefUnwindSafe for LocalTimeOpts
impl Send for LocalTimeOpts
impl Sync for LocalTimeOpts
impl Unpin for LocalTimeOpts
impl UnwindSafe for LocalTimeOpts
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