pub enum ConverseStreamOutput {
MessageStart(MessageStartEvent),
ContentBlockStart(ContentBlockStartEvent),
ContentBlockDelta(ContentBlockDeltaEvent),
ContentBlockStop(ContentBlockStopEvent),
MessageStop(MessageStopEvent),
Metadata(MetadataEvent),
}Expand description
All possible stream events — one variant per Bedrock stream event type.
Variants§
MessageStart(MessageStartEvent)
ContentBlockStart(ContentBlockStartEvent)
ContentBlockDelta(ContentBlockDeltaEvent)
ContentBlockStop(ContentBlockStopEvent)
MessageStop(MessageStopEvent)
Metadata(MetadataEvent)
Trait Implementations§
Source§impl Clone for ConverseStreamOutput
impl Clone for ConverseStreamOutput
Source§fn clone(&self) -> ConverseStreamOutput
fn clone(&self) -> ConverseStreamOutput
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 moreAuto Trait Implementations§
impl Freeze for ConverseStreamOutput
impl RefUnwindSafe for ConverseStreamOutput
impl Send for ConverseStreamOutput
impl Sync for ConverseStreamOutput
impl Unpin for ConverseStreamOutput
impl UnsafeUnpin for ConverseStreamOutput
impl UnwindSafe for ConverseStreamOutput
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