pub struct ResponseWsCreated {
pub event: ResponseCreatedEvent,
pub stream_id: Option<String>,
}Available on crate feature
response-types only.Expand description
An event that is emitted when a response is created.
Fields§
§event: ResponseCreatedEvent§stream_id: Option<String>The WebSocket lane that emitted this event. This field is present when the originating
response.create event supplied a stream_id.
Trait Implementations§
Source§impl Clone for ResponseWsCreated
impl Clone for ResponseWsCreated
Source§fn clone(&self) -> ResponseWsCreated
fn clone(&self) -> ResponseWsCreated
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResponseWsCreated
impl Debug for ResponseWsCreated
Source§impl<'de> Deserialize<'de> for ResponseWsCreated
impl<'de> Deserialize<'de> for ResponseWsCreated
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 ResponseWsCreated
impl PartialEq for ResponseWsCreated
Source§impl Serialize for ResponseWsCreated
impl Serialize for ResponseWsCreated
impl StructuralPartialEq for ResponseWsCreated
Auto Trait Implementations§
impl Freeze for ResponseWsCreated
impl RefUnwindSafe for ResponseWsCreated
impl Send for ResponseWsCreated
impl Sync for ResponseWsCreated
impl Unpin for ResponseWsCreated
impl UnsafeUnpin for ResponseWsCreated
impl UnwindSafe for ResponseWsCreated
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