pub struct QuestionRequest {
pub id: String,
pub session_id: String,
pub questions: Vec<QuestionInfo>,
pub tool: Option<QuestionToolRef>,
}Expand description
A pending question request from the server.
Fields§
§id: StringUnique request identifier.
session_id: StringSession ID that this question belongs to.
questions: Vec<QuestionInfo>Question list (typically one item, but API supports many).
tool: Option<QuestionToolRef>Optional tool reference context.
Trait Implementations§
Source§impl Clone for QuestionRequest
impl Clone for QuestionRequest
Source§fn clone(&self) -> QuestionRequest
fn clone(&self) -> QuestionRequest
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 QuestionRequest
impl Debug for QuestionRequest
Source§impl<'de> Deserialize<'de> for QuestionRequest
impl<'de> Deserialize<'de> for QuestionRequest
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
Auto Trait Implementations§
impl Freeze for QuestionRequest
impl RefUnwindSafe for QuestionRequest
impl Send for QuestionRequest
impl Sync for QuestionRequest
impl Unpin for QuestionRequest
impl UnwindSafe for QuestionRequest
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