Struct pages::errors::ErrorToResponse
source · [−]pub struct ErrorToResponse {
pub error: String,
}
Fields
error: String
Trait Implementations
sourceimpl Debug for ErrorToResponse
impl Debug for ErrorToResponse
sourceimpl<'de> Deserialize<'de> for ErrorToResponse
impl<'de> Deserialize<'de> for ErrorToResponse
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 ErrorToResponse
impl Serialize for ErrorToResponse
Auto Trait Implementations
impl RefUnwindSafe for ErrorToResponse
impl Send for ErrorToResponse
impl Sync for ErrorToResponse
impl Unpin for ErrorToResponse
impl UnwindSafe for ErrorToResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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