pub struct DeltaErrorModel {
pub message: String,
pub error_type: DeltaErrorType,
pub code: u16,
pub stack: Option<Vec<String>>,
}Expand description
The JSON error payload (DeltaErrorModel in delta.yaml).
Fields§
§message: String§error_type: DeltaErrorType§code: u16HTTP response code.
stack: Option<Vec<String>>Stack trace, only populated when the server runs in debug mode.
Trait Implementations§
Source§impl Clone for DeltaErrorModel
impl Clone for DeltaErrorModel
Source§fn clone(&self) -> DeltaErrorModel
fn clone(&self) -> DeltaErrorModel
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 DeltaErrorModel
impl Debug for DeltaErrorModel
Source§impl<'de> Deserialize<'de> for DeltaErrorModel
impl<'de> Deserialize<'de> for DeltaErrorModel
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 DeltaErrorModel
impl RefUnwindSafe for DeltaErrorModel
impl Send for DeltaErrorModel
impl Sync for DeltaErrorModel
impl Unpin for DeltaErrorModel
impl UnsafeUnpin for DeltaErrorModel
impl UnwindSafe for DeltaErrorModel
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