Struct apidoc_attr::error::ApiErrorItem
source · pub struct ApiErrorItem {
pub status: u16,
pub code: String,
pub cause: String,
}Fields§
§status: u16§code: String§cause: StringTrait Implementations§
source§impl Clone for ApiErrorItem
impl Clone for ApiErrorItem
source§fn clone(&self) -> ApiErrorItem
fn clone(&self) -> ApiErrorItem
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 moreAuto Trait Implementations§
impl Freeze for ApiErrorItem
impl RefUnwindSafe for ApiErrorItem
impl Send for ApiErrorItem
impl Sync for ApiErrorItem
impl Unpin for ApiErrorItem
impl UnwindSafe for ApiErrorItem
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