pub struct AnnotateArgs {
pub session: Option<String>,
pub session_id: Option<String>,
pub summary: Option<String>,
pub clear_summary: bool,
pub state: Option<ActivityStateValue>,
pub clear_state: bool,
pub cwd: Option<String>,
pub clear_cwd: bool,
pub extensions: Vec<String>,
pub clear_extensions: Vec<String>,
pub json: bool,
}Fields§
§session: Option<String>Harness session ID; falls back to AGENT_ID_SESSION_ID
session_id: Option<String>Explicit harness session ID
summary: Option<String>Set the concise current-work summary
clear_summary: boolRemove the current-work summary
state: Option<ActivityStateValue>Set the OMP lifecycle state signal
clear_state: boolRemove the OMP lifecycle state signal
cwd: Option<String>Set the current working directory
clear_cwd: boolRemove the current working directory
extensions: Vec<String>Set namespaced extension metadata from OWNER=JSON
clear_extensions: Vec<String>Remove one namespaced extension metadata value
json: boolPrint the complete assignment as JSON
Implementations§
Source§impl AnnotateArgs
impl AnnotateArgs
pub fn explicit_session(&self) -> Option<&str>
Trait Implementations§
Source§impl Args for AnnotateArgs
impl Args for AnnotateArgs
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 AnnotateArgs
impl Debug for AnnotateArgs
Source§impl FromArgMatches for AnnotateArgs
impl FromArgMatches for AnnotateArgs
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 AnnotateArgs
impl RefUnwindSafe for AnnotateArgs
impl Send for AnnotateArgs
impl Sync for AnnotateArgs
impl Unpin for AnnotateArgs
impl UnsafeUnpin for AnnotateArgs
impl UnwindSafe for AnnotateArgs
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