pub struct ResponseWsIncomplete {
pub event: ResponseIncompleteEvent,
pub stream_id: Option<String>,
}Available on crate feature
response-types only.Expand description
An event that is emitted when a response finishes as incomplete.
Over WebSocket, steering can finish a response with response.incomplete_details.reason set to
steered, followed automatically by a successor response.created that commits the queued
steering input.
Fields§
§event: ResponseIncompleteEvent§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 ResponseWsIncomplete
impl Clone for ResponseWsIncomplete
Source§fn clone(&self) -> ResponseWsIncomplete
fn clone(&self) -> ResponseWsIncomplete
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 ResponseWsIncomplete
impl Debug for ResponseWsIncomplete
Source§impl<'de> Deserialize<'de> for ResponseWsIncomplete
impl<'de> Deserialize<'de> for ResponseWsIncomplete
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 ResponseWsIncomplete
impl PartialEq for ResponseWsIncomplete
Source§impl Serialize for ResponseWsIncomplete
impl Serialize for ResponseWsIncomplete
impl StructuralPartialEq for ResponseWsIncomplete
Auto Trait Implementations§
impl Freeze for ResponseWsIncomplete
impl RefUnwindSafe for ResponseWsIncomplete
impl Send for ResponseWsIncomplete
impl Sync for ResponseWsIncomplete
impl Unpin for ResponseWsIncomplete
impl UnsafeUnpin for ResponseWsIncomplete
impl UnwindSafe for ResponseWsIncomplete
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