pub struct MemoryRecordArgs {
pub config: PathBuf,
pub title: String,
pub summary: String,
pub memory_type: String,
pub scope: MemoryScopeValue,
pub source_ref: String,
pub project_id: Option<String>,
pub user_id: Option<String>,
pub sensitivity: Option<String>,
pub actor: Option<String>,
pub reason: Option<String>,
pub evidence_refs: Vec<String>,
}Fields§
§config: PathBuf§title: String§summary: String§memory_type: String§scope: MemoryScopeValue§source_ref: String§project_id: Option<String>§user_id: Option<String>§sensitivity: Option<String>§actor: Option<String>§reason: Option<String>§evidence_refs: Vec<String>Trait Implementations§
Source§impl Args for MemoryRecordArgs
impl Args for MemoryRecordArgs
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 MemoryRecordArgs
impl Clone for MemoryRecordArgs
Source§fn clone(&self) -> MemoryRecordArgs
fn clone(&self) -> MemoryRecordArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryRecordArgs
impl Debug for MemoryRecordArgs
Source§impl FromArgMatches for MemoryRecordArgs
impl FromArgMatches for MemoryRecordArgs
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 MemoryRecordArgs
impl RefUnwindSafe for MemoryRecordArgs
impl Send for MemoryRecordArgs
impl Sync for MemoryRecordArgs
impl Unpin for MemoryRecordArgs
impl UnsafeUnpin for MemoryRecordArgs
impl UnwindSafe for MemoryRecordArgs
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