pub struct ODataError {
pub code: Option<String>,
pub message: Option<String>,
pub target: Option<String>,
pub details: Vec<ODataError>,
}Expand description
Information about an error.
Fields§
§code: Option<String>A language-independent error name.
message: Option<String>The error message.
target: Option<String>The target of the error (for example, the name of the property in error).
details: Vec<ODataError>The error details.
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 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 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 for ODataError
impl PartialEq for ODataError
Source§impl Serialize for ODataError
impl Serialize for ODataError
impl StructuralPartialEq for ODataError
Auto Trait Implementations§
impl Freeze for ODataError
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