#[non_exhaustive]pub struct StatusProgress {
pub current: u64,
pub total: Option<u64>,
pub unit: Option<String>,
}Expand description
toolCall.statusProgress: the latest TaskProgressDetail, field-for-field.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.current: u64Completed units.
total: Option<u64>Total units, when known.
unit: Option<String>Unit label, when recorded.
Trait Implementations§
Source§impl Clone for StatusProgress
impl Clone for StatusProgress
Source§impl Debug for StatusProgress
impl Debug for StatusProgress
Source§impl<'de> Deserialize<'de> for StatusProgress
impl<'de> Deserialize<'de> for StatusProgress
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 StatusProgress
Source§impl PartialEq for StatusProgress
impl PartialEq for StatusProgress
Source§impl Serialize for StatusProgress
impl Serialize for StatusProgress
impl StructuralPartialEq for StatusProgress
Auto Trait Implementations§
impl Forget for StatusProgress
impl Freeze for StatusProgress
impl Move for StatusProgress
impl RefUnwindSafe for StatusProgress
impl Send for StatusProgress
impl Sync for StatusProgress
impl Unpin for StatusProgress
impl UnsafeUnpin for StatusProgress
impl UnwindSafe for StatusProgress
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