pub struct BackgroundTasksRequest {
pub subtype: &'static str,
pub tool_use_id: Option<String>,
}Expand description
Body of a background_tasks control request (Ctrl+B equivalent).
Send with Session::control(&body).
Source: chunk-20bv8pca.js:20970–20978
Fields§
§subtype: &'static str§tool_use_id: Option<String>None = background all foreground tasks; Some = background specific tool_use_id.
Implementations§
Trait Implementations§
Source§impl Clone for BackgroundTasksRequest
impl Clone for BackgroundTasksRequest
Source§impl Debug for BackgroundTasksRequest
impl Debug for BackgroundTasksRequest
Auto Trait Implementations§
impl Forget for BackgroundTasksRequest
impl Freeze for BackgroundTasksRequest
impl Move for BackgroundTasksRequest
impl RefUnwindSafe for BackgroundTasksRequest
impl Send for BackgroundTasksRequest
impl Sync for BackgroundTasksRequest
impl Unpin for BackgroundTasksRequest
impl UnsafeUnpin for BackgroundTasksRequest
impl UnwindSafe for BackgroundTasksRequest
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