pub struct ClientErrorContextInfo {
pub message: Option<String>,
}
Fields§
§message: Option<String>
More details on the error.
Implementations§
Source§impl ClientErrorContextInfo
impl ClientErrorContextInfo
Sourcepub fn new() -> ClientErrorContextInfo
pub fn new() -> ClientErrorContextInfo
A free-form object that contains additional context about the error. The possible fields are defined on a per-endpoint basis. message
is only one example.
Trait Implementations§
Source§impl Clone for ClientErrorContextInfo
impl Clone for ClientErrorContextInfo
Source§fn clone(&self) -> ClientErrorContextInfo
fn clone(&self) -> ClientErrorContextInfo
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 ClientErrorContextInfo
impl Debug for ClientErrorContextInfo
Source§impl Default for ClientErrorContextInfo
impl Default for ClientErrorContextInfo
Source§fn default() -> ClientErrorContextInfo
fn default() -> ClientErrorContextInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientErrorContextInfo
impl<'de> Deserialize<'de> for ClientErrorContextInfo
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 ClientErrorContextInfo
impl PartialEq for ClientErrorContextInfo
Source§impl Serialize for ClientErrorContextInfo
impl Serialize for ClientErrorContextInfo
impl StructuralPartialEq for ClientErrorContextInfo
Auto Trait Implementations§
impl Freeze for ClientErrorContextInfo
impl RefUnwindSafe for ClientErrorContextInfo
impl Send for ClientErrorContextInfo
impl Sync for ClientErrorContextInfo
impl Unpin for ClientErrorContextInfo
impl UnwindSafe for ClientErrorContextInfo
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