pub struct ResponsesWebsocketProbe {
pub url: String,
pub status: StatusCode,
pub reasoning_included: bool,
pub models_etag_present: bool,
pub server_model_present: bool,
pub immediate_close: Option<ResponsesWebsocketClose>,
}Expand description
Result of a handshake-only Responses WebSocket probe.
Fields§
§url: StringRedacted by callers before displaying or serializing support reports.
status: StatusCodeHTTP status returned by the successful WebSocket upgrade.
reasoning_included: boolWhether the server reported reasoning support in the upgrade response.
models_etag_present: boolWhether the server returned a model catalog ETag in the upgrade response.
server_model_present: boolWhether the server returned a server-selected model in the upgrade response.
immediate_close: Option<ResponsesWebsocketClose>Close frame received immediately after upgrade, when one arrives quickly.
Trait Implementations§
Source§impl Clone for ResponsesWebsocketProbe
impl Clone for ResponsesWebsocketProbe
Source§fn clone(&self) -> ResponsesWebsocketProbe
fn clone(&self) -> ResponsesWebsocketProbe
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 ResponsesWebsocketProbe
impl Debug for ResponsesWebsocketProbe
impl Eq for ResponsesWebsocketProbe
Source§impl PartialEq for ResponsesWebsocketProbe
impl PartialEq for ResponsesWebsocketProbe
impl StructuralPartialEq for ResponsesWebsocketProbe
Auto Trait Implementations§
impl Freeze for ResponsesWebsocketProbe
impl RefUnwindSafe for ResponsesWebsocketProbe
impl Send for ResponsesWebsocketProbe
impl Sync for ResponsesWebsocketProbe
impl Unpin for ResponsesWebsocketProbe
impl UnsafeUnpin for ResponsesWebsocketProbe
impl UnwindSafe for ResponsesWebsocketProbe
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more