pub struct ProjectedTool {
pub action_id: String,
pub title: String,
pub verb: String,
pub args: Option<String>,
pub terminal: Option<String>,
pub state: String,
pub source_time: Option<SourceTimeObservation>,
pub source_step: Option<u64>,
}Expand description
Compact tool snapshot for projection.
Fields§
§action_id: StringDialect tool action id.
title: StringDisplay title (often path-aware from the dialect).
verb: StringShort display verb (Write, Read, first token, …) — cosmetic only.
args: Option<String>Request args JSON when ready (bounded later by the HTML layer).
terminal: Option<String>Terminal outcome label when known (Success, …).
state: StringRequest/unit state label.
source_time: Option<SourceTimeObservation>Dialect source time when present on the unit snapshot.
source_step: Option<u64>Dialect stream step when present on the unit snapshot.
Trait Implementations§
Source§impl Clone for ProjectedTool
impl Clone for ProjectedTool
Source§fn clone(&self) -> ProjectedTool
fn clone(&self) -> ProjectedTool
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 ProjectedTool
impl Debug for ProjectedTool
impl Eq for ProjectedTool
Source§impl PartialEq for ProjectedTool
impl PartialEq for ProjectedTool
impl StructuralPartialEq for ProjectedTool
Auto Trait Implementations§
impl Freeze for ProjectedTool
impl RefUnwindSafe for ProjectedTool
impl Send for ProjectedTool
impl Sync for ProjectedTool
impl Unpin for ProjectedTool
impl UnsafeUnpin for ProjectedTool
impl UnwindSafe for ProjectedTool
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.