pub struct ODataError {
pub code: Option<String>,
pub message: Option<String>,
pub details: Vec<ODataError>,
}
Expand description
Error information in OData format.
Fields§
§code: Option<String>
The machine-readable description of the error, such as ‘InvalidRequest’ or ‘InternalServerError’
message: Option<String>
The human-readable description of the error
details: Vec<ODataError>
Inner errors that caused this error
Implementations§
source§impl ODataError
impl ODataError
Trait Implementations§
source§impl Clone for ODataError
impl Clone for ODataError
source§fn clone(&self) -> ODataError
fn clone(&self) -> ODataError
Returns a copy 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 ODataError
impl Debug for ODataError
source§impl Default for ODataError
impl Default for ODataError
source§fn default() -> ODataError
fn default() -> ODataError
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ODataError
impl<'de> Deserialize<'de> for ODataError
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<ODataError> for ODataError
impl PartialEq<ODataError> for ODataError
source§fn eq(&self, other: &ODataError) -> bool
fn eq(&self, other: &ODataError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ODataError
impl Serialize for ODataError
impl StructuralPartialEq for ODataError
Auto Trait Implementations§
impl RefUnwindSafe for ODataError
impl Send for ODataError
impl Sync for ODataError
impl Unpin for ODataError
impl UnwindSafe for ODataError
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