pub struct ResponseCreatedEvent {
pub type: String,
pub response: Response,
}
Expand description
An event that is emitted when a response is created.
Fields§
§type: String
The type of the event.
response: Response
The response that was created.
Trait Implementations§
Source§impl Clone for ResponseCreatedEvent
impl Clone for ResponseCreatedEvent
Source§fn clone(&self) -> ResponseCreatedEvent
fn clone(&self) -> ResponseCreatedEvent
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 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