pub struct CycleScheduleEditArgs {
pub name: Option<String>,
pub cadence: Option<String>,
pub interval: Option<u32>,
pub unit: Option<String>,
pub duration: Option<u32>,
pub duration_unit: Option<String>,
pub start_date: Option<String>,
pub timezone: Option<String>,
pub look_ahead: Option<u32>,
}Expand description
What tix cycle schedule edit may change. Every field is optional; only the
named ones change, so a partial edit keeps the rest of the record.
Fields§
§name: Option<String>New display label
cadence: Option<String>New cadence family: daily, weekly, monthly or interval
interval: Option<u32>New cadence interval (1-1000)
unit: Option<String>New cadence unit (only meaningful for the interval family)
duration: Option<u32>New duration count
duration_unit: Option<String>New duration unit
start_date: Option<String>New anchor date, YYYY-MM-DD
timezone: Option<String>New timezone: UTC or ±HH:MM (allow_hyphen_values for -05:00)
look_ahead: Option<u32>New look-ahead count
Trait Implementations§
Source§impl Args for CycleScheduleEditArgs
impl Args for CycleScheduleEditArgs
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 CycleScheduleEditArgs
impl Clone for CycleScheduleEditArgs
Source§impl Debug for CycleScheduleEditArgs
impl Debug for CycleScheduleEditArgs
Source§impl FromArgMatches for CycleScheduleEditArgs
impl FromArgMatches for CycleScheduleEditArgs
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 CycleScheduleEditArgs
impl RefUnwindSafe for CycleScheduleEditArgs
impl Send for CycleScheduleEditArgs
impl Sync for CycleScheduleEditArgs
impl Unpin for CycleScheduleEditArgs
impl UnsafeUnpin for CycleScheduleEditArgs
impl UnwindSafe for CycleScheduleEditArgs
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