pub struct AgentTurn {Show 13 fields
pub id: String,
pub session_id: String,
pub provider_name: String,
pub model: String,
pub status: AgentExecutionStatus,
pub messages: Vec<AgentMessage>,
pub output: Option<AgentTurnOutput>,
pub status_message: String,
pub created_by_subject_id: Option<String>,
pub created_at: Option<SystemTime>,
pub started_at: Option<SystemTime>,
pub completed_at: Option<SystemTime>,
pub execution_ref: String,
}Expand description
Native message type for gestalt.provider.v1.AgentTurn.
Fields§
§id: StringThe id field.
session_id: StringThe session_id field.
provider_name: StringThe provider_name field.
model: StringThe model field.
status: AgentExecutionStatusThe status field.
messages: Vec<AgentMessage>The messages field.
output: Option<AgentTurnOutput>The output field.
status_message: StringThe status_message field.
created_by_subject_id: Option<String>The created_by_subject_id field.
created_at: Option<SystemTime>The created_at field.
started_at: Option<SystemTime>The started_at field.
completed_at: Option<SystemTime>The completed_at field.
execution_ref: StringThe execution_ref field.
Trait Implementations§
impl StructuralPartialEq for AgentTurn
Auto Trait Implementations§
impl Freeze for AgentTurn
impl RefUnwindSafe for AgentTurn
impl Send for AgentTurn
impl Sync for AgentTurn
impl Unpin for AgentTurn
impl UnsafeUnpin for AgentTurn
impl UnwindSafe for AgentTurn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request