Struct aws_sdk_bedrockagentruntime::types::TracePart
source · #[non_exhaustive]pub struct TracePart {
pub agent_id: Option<String>,
pub agent_alias_id: Option<String>,
pub session_id: Option<String>,
pub agent_version: Option<String>,
pub trace: Option<Trace>,
}
Expand description
Contains information about the agent and session, alongside the agent's reasoning process and results from calling API actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.agent_id: Option<String>
The unique identifier of the agent.
agent_alias_id: Option<String>
The unique identifier of the alias of the agent.
session_id: Option<String>
The unique identifier of the session with the agent.
agent_version: Option<String>
The version of the agent.
trace: Option<Trace>
Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
Implementations§
source§impl TracePart
impl TracePart
sourcepub fn agent_alias_id(&self) -> Option<&str>
pub fn agent_alias_id(&self) -> Option<&str>
The unique identifier of the alias of the agent.
sourcepub fn session_id(&self) -> Option<&str>
pub fn session_id(&self) -> Option<&str>
The unique identifier of the session with the agent.
sourcepub fn agent_version(&self) -> Option<&str>
pub fn agent_version(&self) -> Option<&str>
The version of the agent.
sourcepub fn trace(&self) -> Option<&Trace>
pub fn trace(&self) -> Option<&Trace>
Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
Trait Implementations§
source§impl PartialEq for TracePart
impl PartialEq for TracePart
impl StructuralPartialEq for TracePart
Auto Trait Implementations§
impl Freeze for TracePart
impl RefUnwindSafe for TracePart
impl Send for TracePart
impl Sync for TracePart
impl Unpin for TracePart
impl UnwindSafe for TracePart
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
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more