pub struct HttpPublicErrorEnvelope {
pub ok: bool,
pub error: HttpPublicError,
}Expand description
Stable JSON error body used by HTTP control-plane routes.
The HTTP status carries transport semantics; this envelope gives browser clients a small, safe machine-readable error classification without exposing adapter, runtime, or credential details.
Fields§
§ok: bool§error: HttpPublicErrorImplementations§
Trait Implementations§
Source§impl Clone for HttpPublicErrorEnvelope
impl Clone for HttpPublicErrorEnvelope
Source§fn clone(&self) -> HttpPublicErrorEnvelope
fn clone(&self) -> HttpPublicErrorEnvelope
Returns a duplicate 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 moreSource§impl Debug for HttpPublicErrorEnvelope
impl Debug for HttpPublicErrorEnvelope
Source§impl<'de> Deserialize<'de> for HttpPublicErrorEnvelope
impl<'de> Deserialize<'de> for HttpPublicErrorEnvelope
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 HttpPublicErrorEnvelope
impl PartialEq for HttpPublicErrorEnvelope
Source§impl Serialize for HttpPublicErrorEnvelope
impl Serialize for HttpPublicErrorEnvelope
impl Eq for HttpPublicErrorEnvelope
impl StructuralPartialEq for HttpPublicErrorEnvelope
Auto Trait Implementations§
impl Freeze for HttpPublicErrorEnvelope
impl RefUnwindSafe for HttpPublicErrorEnvelope
impl Send for HttpPublicErrorEnvelope
impl Sync for HttpPublicErrorEnvelope
impl Unpin for HttpPublicErrorEnvelope
impl UnsafeUnpin for HttpPublicErrorEnvelope
impl UnwindSafe for HttpPublicErrorEnvelope
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