Struct axum_route_error::RouteErrorOutput
source · pub struct RouteErrorOutput<S> {
pub error: String,
pub internal_error: Option<RouteInternalErrorOutput>,
pub extra_data: Option<S>,
}
Fields§
§error: String
§internal_error: Option<RouteInternalErrorOutput>
§extra_data: Option<S>
Trait Implementations§
source§impl<S: Debug> Debug for RouteErrorOutput<S>
impl<S: Debug> Debug for RouteErrorOutput<S>
source§impl<S> Default for RouteErrorOutput<S>
impl<S> Default for RouteErrorOutput<S>
source§impl<'de, S> Deserialize<'de> for RouteErrorOutput<S>where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for RouteErrorOutput<S>where
S: Deserialize<'de>,
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
Auto Trait Implementations§
impl<S> RefUnwindSafe for RouteErrorOutput<S>where
S: RefUnwindSafe,
impl<S> Send for RouteErrorOutput<S>where
S: Send,
impl<S> Sync for RouteErrorOutput<S>where
S: Sync,
impl<S> Unpin for RouteErrorOutput<S>where
S: Unpin,
impl<S> UnwindSafe for RouteErrorOutput<S>where
S: 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