pub struct CreateItemArgs {
pub title: String,
pub vault: String,
pub category: String,
pub tags: Vec<String>,
pub fields: Vec<String>,
pub json: bool,
}Fields§
§title: String§vault: String§category: StringRepeatable. When [create].tags.allow is non-empty, at least
one of these must match.
fields: Vec<String>Raw op item create field assignments
(username=bot, password=…, section.key[password]=…).
Repeatable.
json: boolTrait Implementations§
Source§impl Args for CreateItemArgs
impl Args for CreateItemArgs
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 CreateItemArgs
impl Debug for CreateItemArgs
Source§impl FromArgMatches for CreateItemArgs
impl FromArgMatches for CreateItemArgs
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 CreateItemArgs
impl RefUnwindSafe for CreateItemArgs
impl Send for CreateItemArgs
impl Sync for CreateItemArgs
impl Unpin for CreateItemArgs
impl UnsafeUnpin for CreateItemArgs
impl UnwindSafe for CreateItemArgs
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