pub struct ProgressMessage<T = Value> {
pub data_type: String,
pub data: T,
pub tool_use_id: Option<String>,
pub parent_tool_use_id: Option<String>,
pub uuid: String,
pub timestamp: String,
pub parent_uuid: Option<String>,
}Expand description
Progress message
Fields§
§data_type: String§data: T§tool_use_id: Option<String>§parent_tool_use_id: Option<String>§uuid: String§timestamp: String§parent_uuid: Option<String>Trait Implementations§
Source§impl<T: Clone> Clone for ProgressMessage<T>
impl<T: Clone> Clone for ProgressMessage<T>
Source§fn clone(&self) -> ProgressMessage<T>
fn clone(&self) -> ProgressMessage<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for ProgressMessage<T>
impl<T: Debug> Debug for ProgressMessage<T>
Source§impl<'de, T> Deserialize<'de> for ProgressMessage<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ProgressMessage<T>where
T: Deserialize<'de>,
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
Auto Trait Implementations§
impl<T> Freeze for ProgressMessage<T>where
T: Freeze,
impl<T> RefUnwindSafe for ProgressMessage<T>where
T: RefUnwindSafe,
impl<T> Send for ProgressMessage<T>where
T: Send,
impl<T> Sync for ProgressMessage<T>where
T: Sync,
impl<T> Unpin for ProgressMessage<T>where
T: Unpin,
impl<T> UnsafeUnpin for ProgressMessage<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ProgressMessage<T>where
T: UnwindSafe,
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