pub struct TimelineTargetArgs {
pub thread: String,
pub from_branch: Option<String>,
pub step: Option<String>,
pub tool_call: Option<String>,
pub harness: String,
pub session: Option<String>,
pub message: Option<String>,
pub undo: bool,
pub redo: bool,
pub current: bool,
}Expand description
Shared selector arguments for timeline action commands.
Fields§
§thread: StringTimeline thread to target.
from_branch: Option<String>Constrain the target to this branch when selecting by step/current cursor.
step: Option<String>Target a timeline step id.
tool_call: Option<String>Target a native harness tool call id, such as an OpenCode tool call id.
harness: StringNative harness name for --tool-call.
session: Option<String>Native harness session id for --tool-call.
message: Option<String>Native harness message id for --tool-call.
undo: boolTarget the previous step from the current cursor.
redo: boolTarget the next step from the current cursor.
current: boolTarget the current logical cursor.
Trait Implementations§
Source§impl Args for TimelineTargetArgs
impl Args for TimelineTargetArgs
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 TimelineTargetArgs
impl Clone for TimelineTargetArgs
Source§fn clone(&self) -> TimelineTargetArgs
fn clone(&self) -> TimelineTargetArgs
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 TimelineTargetArgs
impl Debug for TimelineTargetArgs
Source§impl FromArgMatches for TimelineTargetArgs
impl FromArgMatches for TimelineTargetArgs
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 TimelineTargetArgs
impl RefUnwindSafe for TimelineTargetArgs
impl Send for TimelineTargetArgs
impl Sync for TimelineTargetArgs
impl Unpin for TimelineTargetArgs
impl UnsafeUnpin for TimelineTargetArgs
impl UnwindSafe for TimelineTargetArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request