pub struct LocalApiError {
pub status: StatusCode,
pub message: String,
}Fields§
§status: StatusCode§message: StringImplementations§
Trait Implementations§
Source§impl Clone for LocalApiError
impl Clone for LocalApiError
Source§fn clone(&self) -> LocalApiError
fn clone(&self) -> LocalApiError
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 moreAuto Trait Implementations§
impl Freeze for LocalApiError
impl RefUnwindSafe for LocalApiError
impl Send for LocalApiError
impl Sync for LocalApiError
impl Unpin for LocalApiError
impl UnwindSafe for LocalApiError
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