Struct primer_api::model::ErrorObject
source · [−]pub struct ErrorObject {
pub validation_errors: Option<Vec<Value>>,
pub diagnostics_id: Option<String>,
pub description: Option<String>,
pub error_id: Option<String>,
}Fields
validation_errors: Option<Vec<Value>>Returned in case of a badly formed request
diagnostics_id: Option<String>An ID that you can quote when contacting the support team (support@primer.io).
description: Option<String>A human description of the error
error_id: Option<String>An error ID
Trait Implementations
sourceimpl Debug for ErrorObject
impl Debug for ErrorObject
sourceimpl Default for ErrorObject
impl Default for ErrorObject
sourcefn default() -> ErrorObject
fn default() -> ErrorObject
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ErrorObject
impl<'de> Deserialize<'de> for ErrorObject
sourcefn 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
sourceimpl Display for ErrorObject
impl Display for ErrorObject
sourceimpl Serialize for ErrorObject
impl Serialize for ErrorObject
Auto Trait Implementations
impl RefUnwindSafe for ErrorObject
impl Send for ErrorObject
impl Sync for ErrorObject
impl Unpin for ErrorObject
impl UnwindSafe for ErrorObject
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more