#[non_exhaustive]pub struct BackgroundTarget {
pub tool_call_id: String,
pub manual_release_admissible: bool,
pub foreground_wait_active: bool,
pub background_requested: bool,
}Expand description
One call’s live background-target record: exactly the runtime snapshot’s four facts, no new nouns.
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.tool_call_id: StringThe tool call this record describes (the provider call id).
manual_release_admissible: boolPoint-in-time Ctrl+B chooser hint; the runtime re-checks admission on the action.
foreground_wait_active: boolWhether the call sits in its foreground wait right now.
background_requested: boolWhether the background was already requested for this call.
Trait Implementations§
Source§impl Clone for BackgroundTarget
impl Clone for BackgroundTarget
Source§impl Debug for BackgroundTarget
impl Debug for BackgroundTarget
Source§impl<'de> Deserialize<'de> for BackgroundTarget
impl<'de> Deserialize<'de> for BackgroundTarget
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 BackgroundTarget
Source§impl PartialEq for BackgroundTarget
impl PartialEq for BackgroundTarget
Source§impl Serialize for BackgroundTarget
impl Serialize for BackgroundTarget
impl StructuralPartialEq for BackgroundTarget
Auto Trait Implementations§
impl Forget for BackgroundTarget
impl Freeze for BackgroundTarget
impl Move for BackgroundTarget
impl RefUnwindSafe for BackgroundTarget
impl Send for BackgroundTarget
impl Sync for BackgroundTarget
impl Unpin for BackgroundTarget
impl UnsafeUnpin for BackgroundTarget
impl UnwindSafe for BackgroundTarget
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