pub struct AgentAsyncChoice {
pub messages: Option<Vec<AgentAsyncMessage>>,
}Expand description
One async-result choice.
Fields§
§messages: Option<Vec<AgentAsyncMessage>>Generated response messages.
Trait Implementations§
Source§impl Clone for AgentAsyncChoice
impl Clone for AgentAsyncChoice
Source§fn clone(&self) -> AgentAsyncChoice
fn clone(&self) -> AgentAsyncChoice
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 AgentAsyncChoice
impl Debug for AgentAsyncChoice
Source§impl<'de> Deserialize<'de> for AgentAsyncChoice
impl<'de> Deserialize<'de> for AgentAsyncChoice
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 AgentAsyncChoice
impl RefUnwindSafe for AgentAsyncChoice
impl Send for AgentAsyncChoice
impl Sync for AgentAsyncChoice
impl Unpin for AgentAsyncChoice
impl UnsafeUnpin for AgentAsyncChoice
impl UnwindSafe for AgentAsyncChoice
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