pub struct ResponseCreatedEvent {
pub response: Response,
pub sequence_number: i64,
pub type_: String,
}Expand description
An event that is emitted when a response is created.
Fields§
§response: ResponseThe response that was created.
sequence_number: i64The sequence number for this event.
type_: StringThe type of the event. Always response.created.
Trait Implementations§
Source§impl Clone for ResponseCreatedEvent
impl Clone for ResponseCreatedEvent
Source§fn clone(&self) -> ResponseCreatedEvent
fn clone(&self) -> ResponseCreatedEvent
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 Debug for ResponseCreatedEvent
impl Debug for ResponseCreatedEvent
Source§impl<'de> Deserialize<'de> for ResponseCreatedEvent
impl<'de> Deserialize<'de> for ResponseCreatedEvent
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
Auto Trait Implementations§
impl Freeze for ResponseCreatedEvent
impl RefUnwindSafe for ResponseCreatedEvent
impl Send for ResponseCreatedEvent
impl Sync for ResponseCreatedEvent
impl Unpin for ResponseCreatedEvent
impl UnsafeUnpin for ResponseCreatedEvent
impl UnwindSafe for ResponseCreatedEvent
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