pub struct HttpExceptionField {
pub field: String,
pub wire_name: String,
pub optional: bool,
pub ty: TypeSpec,
}Expand description
An unannotated member of an exception: part of the JSON error body.
Fields§
§field: String§wire_name: StringJSON property name after applying the existing naming annotations.
optional: boolWhether the JSON property may be absent.
ty: TypeSpecTrait Implementations§
Source§impl Clone for HttpExceptionField
impl Clone for HttpExceptionField
Source§impl Debug for HttpExceptionField
impl Debug for HttpExceptionField
Source§impl<'de> Deserialize<'de> for HttpExceptionField
impl<'de> Deserialize<'de> for HttpExceptionField
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
Auto Trait Implementations§
impl Freeze for HttpExceptionField
impl RefUnwindSafe for HttpExceptionField
impl Send for HttpExceptionField
impl Sync for HttpExceptionField
impl Unpin for HttpExceptionField
impl UnsafeUnpin for HttpExceptionField
impl UnwindSafe for HttpExceptionField
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