pub struct OciErrorInfo {
pub code: String,
pub message: String,
pub detail: Option<Value>,
}Expand description
One entry in the error response array.
Spec §3.1 requires code and message; detail is optional and may
be any JSON value.
Fields§
§code: StringError code string (uppercase, underscore-separated).
message: StringHuman-readable message.
detail: Option<Value>Optional machine-readable detail payload.
Trait Implementations§
Source§impl Clone for OciErrorInfo
impl Clone for OciErrorInfo
Source§fn clone(&self) -> OciErrorInfo
fn clone(&self) -> OciErrorInfo
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 OciErrorInfo
impl Debug for OciErrorInfo
Source§impl<'de> Deserialize<'de> for OciErrorInfo
impl<'de> Deserialize<'de> for OciErrorInfo
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 OciErrorInfo
impl RefUnwindSafe for OciErrorInfo
impl Send for OciErrorInfo
impl Sync for OciErrorInfo
impl Unpin for OciErrorInfo
impl UnsafeUnpin for OciErrorInfo
impl UnwindSafe for OciErrorInfo
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