pub struct RealtimeServerEventResponseDone {
pub event_id: String,
pub type: String,
pub response: RealtimeResponse,
}
Expand description
Returned when a Response is done streaming.
Fields§
§event_id: String
The unique ID of the server event.
type: String
The event type, must be response.done
.
response: RealtimeResponse
Trait Implementations§
Source§impl Clone for RealtimeServerEventResponseDone
impl Clone for RealtimeServerEventResponseDone
Source§fn clone(&self) -> RealtimeServerEventResponseDone
fn clone(&self) -> RealtimeServerEventResponseDone
Returns a copy of the value. Read more
1.0.0 · 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 RealtimeServerEventResponseDone
impl RefUnwindSafe for RealtimeServerEventResponseDone
impl Send for RealtimeServerEventResponseDone
impl Sync for RealtimeServerEventResponseDone
impl Unpin for RealtimeServerEventResponseDone
impl UnwindSafe for RealtimeServerEventResponseDone
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