pub struct EventsListArgs {
pub calendar: Option<String>,
pub time_min: Option<String>,
pub time_max: Option<String>,
pub query: Option<String>,
pub max: u32,
pub json: bool,
}Fields§
§calendar: Option<String>Calendar ID, primary, or a directory alias. Defaults to
default_calendar from config if set.
time_min: Option<String>§time_max: Option<String>§query: Option<String>§max: u32§json: boolTrait Implementations§
Source§impl Args for EventsListArgs
impl Args for EventsListArgs
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 EventsListArgs
impl Debug for EventsListArgs
Source§impl FromArgMatches for EventsListArgs
impl FromArgMatches for EventsListArgs
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 EventsListArgs
impl RefUnwindSafe for EventsListArgs
impl Send for EventsListArgs
impl Sync for EventsListArgs
impl Unpin for EventsListArgs
impl UnsafeUnpin for EventsListArgs
impl UnwindSafe for EventsListArgs
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