Struct perseus::internal::error_pages::ErrorPageData
source · [−]Expand description
A representation of an error page, particularly for storage in transit so that server-side rendered error pages can be hydrated on the client-side.
Fields
url: String
The URL for the error.
status: u16
THe HTTP status code that corresponds with the error.
err: String
The actual error message as a string.
Trait Implementations
sourceimpl Debug for ErrorPageData
impl Debug for ErrorPageData
sourceimpl<'de> Deserialize<'de> for ErrorPageData
impl<'de> Deserialize<'de> for ErrorPageData
sourcefn 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
sourceimpl Serialize for ErrorPageData
impl Serialize for ErrorPageData
Auto Trait Implementations
impl RefUnwindSafe for ErrorPageData
impl Send for ErrorPageData
impl Sync for ErrorPageData
impl Unpin for ErrorPageData
impl UnwindSafe for ErrorPageData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more