pub struct AgentCompletedResponse {
pub id: String,
pub agent_id: String,
pub conversation_id: Option<String>,
pub choices: Vec<AgentChoice>,
pub usage: Option<AgentUsage>,
}Expand description
Completed non-streaming Agent invocation.
Fields§
§id: StringRequest identifier.
agent_id: StringAgent identifier.
conversation_id: Option<String>Conversation identifier, when assigned.
choices: Vec<AgentChoice>Non-empty generated choices.
usage: Option<AgentUsage>Optional token usage.
Trait Implementations§
Source§impl Clone for AgentCompletedResponse
impl Clone for AgentCompletedResponse
Source§fn clone(&self) -> AgentCompletedResponse
fn clone(&self) -> AgentCompletedResponse
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 AgentCompletedResponse
impl Debug for AgentCompletedResponse
Auto Trait Implementations§
impl Freeze for AgentCompletedResponse
impl RefUnwindSafe for AgentCompletedResponse
impl Send for AgentCompletedResponse
impl Sync for AgentCompletedResponse
impl Unpin for AgentCompletedResponse
impl UnsafeUnpin for AgentCompletedResponse
impl UnwindSafe for AgentCompletedResponse
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