pub struct ResponseContentPartWsAdded {
pub event: ResponseContentPartAddedEvent,
pub stream_id: Option<String>,
}Available on crate feature
response-types only.Expand description
Emitted when a new content part is added.
Fields§
§event: ResponseContentPartAddedEvent§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 ResponseContentPartWsAdded
impl Clone for ResponseContentPartWsAdded
Source§fn clone(&self) -> ResponseContentPartWsAdded
fn clone(&self) -> ResponseContentPartWsAdded
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 ResponseContentPartWsAdded
impl Debug for ResponseContentPartWsAdded
Source§impl<'de> Deserialize<'de> for ResponseContentPartWsAdded
impl<'de> Deserialize<'de> for ResponseContentPartWsAdded
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
impl StructuralPartialEq for ResponseContentPartWsAdded
Auto Trait Implementations§
impl Freeze for ResponseContentPartWsAdded
impl RefUnwindSafe for ResponseContentPartWsAdded
impl Send for ResponseContentPartWsAdded
impl Sync for ResponseContentPartWsAdded
impl Unpin for ResponseContentPartWsAdded
impl UnsafeUnpin for ResponseContentPartWsAdded
impl UnwindSafe for ResponseContentPartWsAdded
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