pub struct ErrorPagesConfig {
pub pages: HashMap<String, String>,
pub default: Option<ErrorPageDefaults>,
}Fields§
§pages: HashMap<String, String>§default: Option<ErrorPageDefaults>Implementations§
Trait Implementations§
Source§impl Clone for ErrorPagesConfig
impl Clone for ErrorPagesConfig
Source§fn clone(&self) -> ErrorPagesConfig
fn clone(&self) -> ErrorPagesConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorPagesConfig
impl Debug for ErrorPagesConfig
Source§impl<'de> Deserialize<'de> for ErrorPagesConfig
impl<'de> Deserialize<'de> for ErrorPagesConfig
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 Freeze for ErrorPagesConfig
impl RefUnwindSafe for ErrorPagesConfig
impl Send for ErrorPagesConfig
impl Sync for ErrorPagesConfig
impl Unpin for ErrorPagesConfig
impl UnsafeUnpin for ErrorPagesConfig
impl UnwindSafe for ErrorPagesConfig
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