pub struct ResponseCreatedEvent {
pub response: Response,
pub sequence_number: i64,
}
Expand description
An event that is emitted when a response is created.
Fields§
§response: Response
The response that was created.
sequence_number: i64
The sequence number for this event.
Implementations§
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§const fn clone_from(&mut self, source: &Self)
const 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
Source§impl PartialEq for ResponseCreatedEvent
impl PartialEq for ResponseCreatedEvent
Source§impl Serialize for ResponseCreatedEvent
impl Serialize for ResponseCreatedEvent
impl StructuralPartialEq for ResponseCreatedEvent
Auto Trait Implementations§
impl Freeze for ResponseCreatedEvent
impl RefUnwindSafe for ResponseCreatedEvent
impl Send for ResponseCreatedEvent
impl Sync for ResponseCreatedEvent
impl Unpin 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