pub struct RealtimeServerEventResponseCreated {
pub event_id: String,
pub response: RealtimeResponse,
}
Expand description
Returned when a new Response is created. The first event of response creation,
where the response is in an initial state of in_progress
.
Fields§
§event_id: String
The unique ID of the server event.
response: RealtimeResponse
Implementations§
Source§impl RealtimeServerEventResponseCreated
impl RealtimeServerEventResponseCreated
Sourcepub fn builder() -> RealtimeServerEventResponseCreatedBuilder<((), ())>
pub fn builder() -> RealtimeServerEventResponseCreatedBuilder<((), ())>
Create a builder for building RealtimeServerEventResponseCreated
.
On the builder, call .event_id(...)
, .response(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeServerEventResponseCreated
.
Trait Implementations§
Source§impl Clone for RealtimeServerEventResponseCreated
impl Clone for RealtimeServerEventResponseCreated
Source§fn clone(&self) -> RealtimeServerEventResponseCreated
fn clone(&self) -> RealtimeServerEventResponseCreated
Returns a duplicate 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 moreSource§impl<'de> Deserialize<'de> for RealtimeServerEventResponseCreated
impl<'de> Deserialize<'de> for RealtimeServerEventResponseCreated
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RealtimeServerEventResponseCreated
impl PartialEq for RealtimeServerEventResponseCreated
Source§fn eq(&self, other: &RealtimeServerEventResponseCreated) -> bool
fn eq(&self, other: &RealtimeServerEventResponseCreated) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RealtimeServerEventResponseCreated
Auto Trait Implementations§
impl Freeze for RealtimeServerEventResponseCreated
impl RefUnwindSafe for RealtimeServerEventResponseCreated
impl Send for RealtimeServerEventResponseCreated
impl Sync for RealtimeServerEventResponseCreated
impl Unpin for RealtimeServerEventResponseCreated
impl UnwindSafe for RealtimeServerEventResponseCreated
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