pub struct StreamEndEvent {
pub finish_reason: Option<FinishReason>,
pub usage: Option<Usage>,
pub provider_data: Option<JsonObject>,
}Expand description
The stream completed. Exactly one per stream, final (MAP-3).
Fields§
§finish_reason: Option<FinishReason>§usage: Option<Usage>§provider_data: Option<JsonObject>Trait Implementations§
Source§impl Clone for StreamEndEvent
impl Clone for StreamEndEvent
Source§impl Debug for StreamEndEvent
impl Debug for StreamEndEvent
Source§impl Default for StreamEndEvent
impl Default for StreamEndEvent
Source§impl PartialEq for StreamEndEvent
impl PartialEq for StreamEndEvent
impl StructuralPartialEq for StreamEndEvent
Auto Trait Implementations§
impl Freeze for StreamEndEvent
impl RefUnwindSafe for StreamEndEvent
impl Send for StreamEndEvent
impl Sync for StreamEndEvent
impl Unpin for StreamEndEvent
impl UnsafeUnpin for StreamEndEvent
impl UnwindSafe for StreamEndEvent
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