pub struct RecurringRuleArgs {
pub rule: Option<String>,
pub anchor: Option<String>,
pub interval: Option<u32>,
pub unit: Option<String>,
pub expression: Option<String>,
pub timezone: Option<String>,
}Expand description
The rule flags tix recurring create and edit share.
Fields§
§rule: Option<String>Family: daily, weekly, monthly, interval, cron-like
anchor: Option<String>Schedule origin, YYYY-MM-DD (required by every family)
interval: Option<u32>Cadence, where the family takes one (1-1000)
unit: Option<String>What an interval rule counts in: days, weeks, months
expression: Option<String>Cron-like expression: @daily, @weekly, @monthly
timezone: Option<String>Timezone policy, e.g. +02:00
Implementations§
Trait Implementations§
Source§impl Args for RecurringRuleArgs
impl Args for RecurringRuleArgs
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 RecurringRuleArgs
impl Clone for RecurringRuleArgs
Source§impl Debug for RecurringRuleArgs
impl Debug for RecurringRuleArgs
Source§impl FromArgMatches for RecurringRuleArgs
impl FromArgMatches for RecurringRuleArgs
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 RecurringRuleArgs
impl RefUnwindSafe for RecurringRuleArgs
impl Send for RecurringRuleArgs
impl Sync for RecurringRuleArgs
impl Unpin for RecurringRuleArgs
impl UnsafeUnpin for RecurringRuleArgs
impl UnwindSafe for RecurringRuleArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more