pub struct AgentInteraction {
pub id: String,
pub type: AgentInteractionType,
pub state: AgentInteractionState,
pub title: String,
pub prompt: String,
pub request: Option<AgentJson>,
pub resolution: Option<AgentJson>,
pub created_at: Option<SystemTime>,
pub resolved_at: Option<SystemTime>,
pub turn_id: String,
pub session_id: String,
}Expand description
Native message type for gestalt.provider.v1.AgentInteraction.
Fields§
§id: StringThe id field.
type: AgentInteractionTypeThe type field.
state: AgentInteractionStateThe state field.
title: StringThe title field.
prompt: StringThe prompt field.
request: Option<AgentJson>The request field.
resolution: Option<AgentJson>The resolution field.
created_at: Option<SystemTime>The created_at field.
resolved_at: Option<SystemTime>The resolved_at field.
turn_id: StringThe turn_id field.
session_id: StringThe session_id field.
Trait Implementations§
Source§impl Clone for AgentInteraction
impl Clone for AgentInteraction
Source§fn clone(&self) -> AgentInteraction
fn clone(&self) -> AgentInteraction
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 AgentInteraction
impl Debug for AgentInteraction
Source§impl Default for AgentInteraction
impl Default for AgentInteraction
Source§fn default() -> AgentInteraction
fn default() -> AgentInteraction
Returns the “default value” for a type. Read more
Source§impl PartialEq for AgentInteraction
impl PartialEq for AgentInteraction
Source§fn eq(&self, other: &AgentInteraction) -> bool
fn eq(&self, other: &AgentInteraction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentInteraction
Auto Trait Implementations§
impl Freeze for AgentInteraction
impl RefUnwindSafe for AgentInteraction
impl Send for AgentInteraction
impl Sync for AgentInteraction
impl Unpin for AgentInteraction
impl UnsafeUnpin for AgentInteraction
impl UnwindSafe for AgentInteraction
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