pub enum RouteResponseType {
Json,
Html,
}Expand description
Response type for error pages on this route
Variants§
Trait Implementations§
Source§impl Clone for RouteResponseType
impl Clone for RouteResponseType
Source§fn clone(&self) -> RouteResponseType
fn clone(&self) -> RouteResponseType
Returns a duplicate 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 Debug for RouteResponseType
impl Debug for RouteResponseType
Source§impl Default for RouteResponseType
impl Default for RouteResponseType
Source§fn default() -> RouteResponseType
fn default() -> RouteResponseType
Returns the “default value” for a type. Read more
Source§impl PartialEq for RouteResponseType
impl PartialEq for RouteResponseType
impl Copy for RouteResponseType
impl Eq for RouteResponseType
impl StructuralPartialEq for RouteResponseType
Auto Trait Implementations§
impl Freeze for RouteResponseType
impl RefUnwindSafe for RouteResponseType
impl Send for RouteResponseType
impl Sync for RouteResponseType
impl Unpin for RouteResponseType
impl UnsafeUnpin for RouteResponseType
impl UnwindSafe for RouteResponseType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.