pub struct EventsCreateArgs {Show 15 fields
pub calendar: Option<String>,
pub summary: Option<String>,
pub description: Option<String>,
pub location: Option<String>,
pub start: Option<String>,
pub end: Option<String>,
pub tz: Option<String>,
pub attendees: Vec<String>,
pub reminder_minutes: Vec<u32>,
pub visibility: Option<String>,
pub send_updates: Option<String>,
pub recurrence: Vec<String>,
pub from_json: Option<String>,
pub dry_run: bool,
pub json: bool,
}Fields§
§calendar: Option<String>§summary: Option<String>§description: Option<String>§location: Option<String>§start: Option<String>§end: Option<String>§tz: Option<String>IANA timezone. Defaults to the calendar’s default.
attendees: Vec<String>§reminder_minutes: Vec<u32>Reminder override minutes-before-start (repeatable).
visibility: Option<String>§send_updates: Option<String>§recurrence: Vec<String>RRULE: string (repeatable — emitted as recurrence array).
from_json: Option<String>Read the full event payload from a file (- for stdin).
Merged with the flag-derived fields; the flags win on
conflict.
dry_run: bool§json: boolTrait Implementations§
Source§impl Args for EventsCreateArgs
impl Args for EventsCreateArgs
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 EventsCreateArgs
impl Debug for EventsCreateArgs
Source§impl FromArgMatches for EventsCreateArgs
impl FromArgMatches for EventsCreateArgs
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 EventsCreateArgs
impl RefUnwindSafe for EventsCreateArgs
impl Send for EventsCreateArgs
impl Sync for EventsCreateArgs
impl Unpin for EventsCreateArgs
impl UnsafeUnpin for EventsCreateArgs
impl UnwindSafe for EventsCreateArgs
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