pub struct ClaudeBackgroundChild {Show 13 fields
pub tool_use_id: String,
pub origin_observed: bool,
pub agent_id: Option<String>,
pub agent_type: Option<String>,
pub description: Option<String>,
pub requested_model: Option<String>,
pub resolved_model: Option<String>,
pub prompt: Option<String>,
pub output_file: Option<String>,
pub state: ClaudeBackgroundState,
pub started_at: Option<String>,
pub finished_at: Option<String>,
pub summary: Option<String>,
}Expand description
Latest known state of a Claude Agent tool call.
Fields§
§tool_use_id: StringParent tool-use ID.
origin_observed: boolWhether the originating tool call was present in this JSONL stream.
agent_id: Option<String>Claude task/agent ID, when the async launch returned one.
agent_type: Option<String>Agent definition requested by the parent.
description: Option<String>Human-readable task description.
requested_model: Option<String>Model requested by the parent.
resolved_model: Option<String>Model Claude resolved for the child.
prompt: Option<String>Child prompt.
output_file: Option<String>Async transcript/output file, when Claude returned one.
state: ClaudeBackgroundStateLatest known child state.
started_at: Option<String>Timestamp of the Agent call.
finished_at: Option<String>Timestamp of a terminal result/notification.
summary: Option<String>Terminal summary, when present.
Trait Implementations§
Source§impl Clone for ClaudeBackgroundChild
impl Clone for ClaudeBackgroundChild
Source§fn clone(&self) -> ClaudeBackgroundChild
fn clone(&self) -> ClaudeBackgroundChild
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 ClaudeBackgroundChild
impl Debug for ClaudeBackgroundChild
Source§impl<'de> Deserialize<'de> for ClaudeBackgroundChild
impl<'de> Deserialize<'de> for ClaudeBackgroundChild
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ClaudeBackgroundChild
Source§impl PartialEq for ClaudeBackgroundChild
impl PartialEq for ClaudeBackgroundChild
Source§impl Serialize for ClaudeBackgroundChild
impl Serialize for ClaudeBackgroundChild
impl StructuralPartialEq for ClaudeBackgroundChild
Auto Trait Implementations§
impl Freeze for ClaudeBackgroundChild
impl RefUnwindSafe for ClaudeBackgroundChild
impl Send for ClaudeBackgroundChild
impl Sync for ClaudeBackgroundChild
impl Unpin for ClaudeBackgroundChild
impl UnsafeUnpin for ClaudeBackgroundChild
impl UnwindSafe for ClaudeBackgroundChild
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.