pub struct ConverseOutput { /* private fields */ }Expand description
The top-level response from a converse() call.
Implementations§
Source§impl ConverseOutput
impl ConverseOutput
pub fn output(&self) -> Option<&ConverseOutputEnum>
pub fn stop_reason(&self) -> &StopReason
pub fn usage(&self) -> &TokenUsage
pub fn metrics(&self) -> &Metrics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConverseOutput
impl RefUnwindSafe for ConverseOutput
impl Send for ConverseOutput
impl Sync for ConverseOutput
impl Unpin for ConverseOutput
impl UnsafeUnpin for ConverseOutput
impl UnwindSafe for ConverseOutput
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