#[non_exhaustive]pub struct BackgroundStatus {
pub state: BackgroundState,
pub detail: Option<String>,
}Expand description
The backgrounded-row payload for a running toolCall item: the presentation
state plus the live status text the row body renders. Experimental — stable
clients ignore the member.
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.state: BackgroundStateThe item’s background presentation state.
detail: Option<String>The live status text the backgrounded row body renders. The flip gate requires non-empty detail (the fold always sets it); a state-only member leaves the row alone.
Trait Implementations§
Source§impl Clone for BackgroundStatus
impl Clone for BackgroundStatus
Source§impl Debug for BackgroundStatus
impl Debug for BackgroundStatus
Source§impl<'de> Deserialize<'de> for BackgroundStatus
impl<'de> Deserialize<'de> for BackgroundStatus
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 BackgroundStatus
Source§impl PartialEq for BackgroundStatus
impl PartialEq for BackgroundStatus
Source§impl Serialize for BackgroundStatus
impl Serialize for BackgroundStatus
impl StructuralPartialEq for BackgroundStatus
Auto Trait Implementations§
impl Freeze for BackgroundStatus
impl RefUnwindSafe for BackgroundStatus
impl Send for BackgroundStatus
impl Sync for BackgroundStatus
impl Unpin for BackgroundStatus
impl UnsafeUnpin for BackgroundStatus
impl UnwindSafe for BackgroundStatus
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