pub struct MessageStop {
pub finish_reason: FinishReason,
}Expand description
Message has stopped.
Fields§
§finish_reason: FinishReasonFinish reason.
Trait Implementations§
Source§impl Clone for MessageStop
impl Clone for MessageStop
Source§fn clone(&self) -> MessageStop
fn clone(&self) -> MessageStop
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 MessageStop
impl Debug for MessageStop
Source§impl PartialEq for MessageStop
impl PartialEq for MessageStop
Source§impl StreamEvent for MessageStop
impl StreamEvent for MessageStop
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Stable event type emitted on the wire.
impl StructuralPartialEq for MessageStop
Auto Trait Implementations§
impl Freeze for MessageStop
impl RefUnwindSafe for MessageStop
impl Send for MessageStop
impl Sync for MessageStop
impl Unpin for MessageStop
impl UnsafeUnpin for MessageStop
impl UnwindSafe for MessageStop
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