pub struct PatternMutationArgs {
pub function: Option<String>,
pub target: String,
pub list: CliListKind,
pub value: String,
pub local: bool,
pub json: bool,
}Fields§
§function: Option<String>Function block to edit. Omit to edit the top-level defaults (only valid for services that expose top-level target lists).
target: StringTarget kind to edit. Must be one of the service’s known target
kinds (channel, user, guild, chat, calendar,
attendee, vault, item, tag, category, field).
list: CliListKindWhich list to edit.
value: StringPattern value (exact match, glob, re:<regex>, or numeric ID).
local: bool§json: boolTrait Implementations§
Source§impl Args for PatternMutationArgs
impl Args for PatternMutationArgs
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 PatternMutationArgs
impl Debug for PatternMutationArgs
Source§impl FromArgMatches for PatternMutationArgs
impl FromArgMatches for PatternMutationArgs
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 PatternMutationArgs
impl RefUnwindSafe for PatternMutationArgs
impl Send for PatternMutationArgs
impl Sync for PatternMutationArgs
impl Unpin for PatternMutationArgs
impl UnsafeUnpin for PatternMutationArgs
impl UnwindSafe for PatternMutationArgs
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