pub struct WriteArgs {
pub content: String,
pub symbol: Option<String>,
pub workflow: Option<String>,
pub tags: Vec<String>,
pub ttl: Option<String>,
pub json: bool,
}Fields§
§content: StringContent of the scratch note (markdown OK).
symbol: Option<String>Scope to a symbol by qualified name (resolved to symbol_id).
workflow: Option<String>Named investigation context (e.g. “tracing-sync-bug”).
One or more tags. Can be repeated: --tag perf --tag regression.
ttl: Option<String>Time-to-live: 24h, 7d, 30d etc. When not set, no expiry.
json: boolEmit JSON instead of human-readable output.
Trait Implementations§
Source§impl Args for WriteArgs
impl Args for WriteArgs
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 FromArgMatches for WriteArgs
impl FromArgMatches for WriteArgs
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 WriteArgs
impl RefUnwindSafe for WriteArgs
impl Send for WriteArgs
impl Sync for WriteArgs
impl Unpin for WriteArgs
impl UnsafeUnpin for WriteArgs
impl UnwindSafe for WriteArgs
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