Struct axum_restful::error::PrimaryKeyNotFoundSnafu
source · pub struct PrimaryKeyNotFoundSnafu<__T0> {
pub pk: __T0,
}
Expand description
SNAFU context selector for the AppError::PrimaryKeyNotFound
variant
Fields§
§pk: __T0
Implementations§
Trait Implementations§
source§impl<__T0: Clone> Clone for PrimaryKeyNotFoundSnafu<__T0>
impl<__T0: Clone> Clone for PrimaryKeyNotFoundSnafu<__T0>
source§fn clone(&self) -> PrimaryKeyNotFoundSnafu<__T0>
fn clone(&self) -> PrimaryKeyNotFoundSnafu<__T0>
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 moresource§impl<__T0: Debug> Debug for PrimaryKeyNotFoundSnafu<__T0>
impl<__T0: Debug> Debug for PrimaryKeyNotFoundSnafu<__T0>
source§impl<__T0> IntoError<AppError> for PrimaryKeyNotFoundSnafu<__T0>
impl<__T0> IntoError<AppError> for PrimaryKeyNotFoundSnafu<__T0>
impl<__T0: Copy> Copy for PrimaryKeyNotFoundSnafu<__T0>
Auto Trait Implementations§
impl<__T0> RefUnwindSafe for PrimaryKeyNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
impl<__T0> Send for PrimaryKeyNotFoundSnafu<__T0>where
__T0: Send,
impl<__T0> Sync for PrimaryKeyNotFoundSnafu<__T0>where
__T0: Sync,
impl<__T0> Unpin for PrimaryKeyNotFoundSnafu<__T0>where
__T0: Unpin,
impl<__T0> UnwindSafe for PrimaryKeyNotFoundSnafu<__T0>where
__T0: UnwindSafe,
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