pub struct PendingQuestion {
pub tool_call_id: String,
pub tool_name: String,
pub question: String,
pub options: Vec<String>,
pub allow_custom: bool,
}Expand description
A pending question waiting for user response.
Fields§
§tool_call_id: String§tool_name: StringName of the tool that created this pending question (e.g. “EnterPlanMode”, “ExitPlanMode”).
question: String§options: Vec<String>§allow_custom: boolTrait Implementations§
Source§impl Clone for PendingQuestion
impl Clone for PendingQuestion
Source§fn clone(&self) -> PendingQuestion
fn clone(&self) -> PendingQuestion
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 PendingQuestion
impl Debug for PendingQuestion
Source§impl<'de> Deserialize<'de> for PendingQuestion
impl<'de> Deserialize<'de> for PendingQuestion
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PendingQuestion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PendingQuestion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PendingQuestion
impl Serialize for PendingQuestion
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PendingQuestion
impl RefUnwindSafe for PendingQuestion
impl Send for PendingQuestion
impl Sync for PendingQuestion
impl Unpin for PendingQuestion
impl UnsafeUnpin for PendingQuestion
impl UnwindSafe for PendingQuestion
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