pub struct ToolCallProgressUpdate {
pub status: ToolCallProgressStatus,
pub progress: Option<f64>,
pub loaded: Option<f64>,
pub total: Option<f64>,
pub message: Option<String>,
}Expand description
Input shape for publishing tool-call progress updates.
Fields§
§status: ToolCallProgressStatus§progress: Option<f64>§loaded: Option<f64>§total: Option<f64>§message: Option<String>Trait Implementations§
Source§impl Clone for ToolCallProgressUpdate
impl Clone for ToolCallProgressUpdate
Source§fn clone(&self) -> ToolCallProgressUpdate
fn clone(&self) -> ToolCallProgressUpdate
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 Debug for ToolCallProgressUpdate
impl Debug for ToolCallProgressUpdate
Source§impl Default for ToolCallProgressUpdate
impl Default for ToolCallProgressUpdate
Source§fn default() -> ToolCallProgressUpdate
fn default() -> ToolCallProgressUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolCallProgressUpdate
impl<'de> Deserialize<'de> for ToolCallProgressUpdate
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 Freeze for ToolCallProgressUpdate
impl RefUnwindSafe for ToolCallProgressUpdate
impl Send for ToolCallProgressUpdate
impl Sync for ToolCallProgressUpdate
impl Unpin for ToolCallProgressUpdate
impl UnsafeUnpin for ToolCallProgressUpdate
impl UnwindSafe for ToolCallProgressUpdate
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