pub struct ApiErrorModel {
pub type: String,
pub data: String,
}
Fields§
§type: String
§data: String
Trait Implementations§
Source§impl ComposeSchema for ApiErrorModel
impl ComposeSchema for ApiErrorModel
Source§impl Serialize for ApiErrorModel
impl Serialize for ApiErrorModel
Auto Trait Implementations§
impl Freeze for ApiErrorModel
impl RefUnwindSafe for ApiErrorModel
impl Send for ApiErrorModel
impl Sync for ApiErrorModel
impl Unpin for ApiErrorModel
impl UnwindSafe for ApiErrorModel
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