pub struct AsyncUserInputQuestion {
pub options: Option<Vec<String>>,
pub title: String,
}Expand description
A question the agent asks the user asynchronously alongside an
agentMessage item (upstream AsyncUserInputQuestion).
Fields§
§options: Option<Vec<String>>§title: StringTrait Implementations§
Source§impl Clone for AsyncUserInputQuestion
impl Clone for AsyncUserInputQuestion
Source§fn clone(&self) -> AsyncUserInputQuestion
fn clone(&self) -> AsyncUserInputQuestion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AsyncUserInputQuestion
impl Debug for AsyncUserInputQuestion
Source§impl Default for AsyncUserInputQuestion
impl Default for AsyncUserInputQuestion
Source§fn default() -> AsyncUserInputQuestion
fn default() -> AsyncUserInputQuestion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AsyncUserInputQuestion
impl<'de> Deserialize<'de> for AsyncUserInputQuestion
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
Source§impl PartialEq for AsyncUserInputQuestion
impl PartialEq for AsyncUserInputQuestion
Source§impl Serialize for AsyncUserInputQuestion
impl Serialize for AsyncUserInputQuestion
impl StructuralPartialEq for AsyncUserInputQuestion
Auto Trait Implementations§
impl Freeze for AsyncUserInputQuestion
impl RefUnwindSafe for AsyncUserInputQuestion
impl Send for AsyncUserInputQuestion
impl Sync for AsyncUserInputQuestion
impl Unpin for AsyncUserInputQuestion
impl UnsafeUnpin for AsyncUserInputQuestion
impl UnwindSafe for AsyncUserInputQuestion
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