pub struct BasicError {
pub message: Option<String>,
pub documentation_url: Option<String>,
pub url: Option<String>,
pub status: Option<String>,
}
Expand description
BasicError : Basic Error
Fields§
§message: Option<String>
§documentation_url: Option<String>
§url: Option<String>
§status: Option<String>
Implementations§
Source§impl BasicError
impl BasicError
Sourcepub fn new() -> BasicError
pub fn new() -> BasicError
Basic Error
Trait Implementations§
Source§impl Clone for BasicError
impl Clone for BasicError
Source§fn clone(&self) -> BasicError
fn clone(&self) -> BasicError
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 BasicError
impl Debug for BasicError
Source§impl Default for BasicError
impl Default for BasicError
Source§fn default() -> BasicError
fn default() -> BasicError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasicError
impl<'de> Deserialize<'de> for BasicError
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 BasicError
impl PartialEq for BasicError
Source§impl Serialize for BasicError
impl Serialize for BasicError
impl StructuralPartialEq for BasicError
Auto Trait Implementations§
impl Freeze for BasicError
impl RefUnwindSafe for BasicError
impl Send for BasicError
impl Sync for BasicError
impl Unpin for BasicError
impl UnwindSafe for BasicError
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