Enum salvo::prelude::trailing_slash::TrailingSlashAction
source · pub enum TrailingSlashAction {
Remove,
Add,
}
Available on crate feature
trailing-slash
only.Expand description
TrailingSlashAction
Variants§
Trait Implementations§
source§impl Clone for TrailingSlashAction
impl Clone for TrailingSlashAction
source§fn clone(&self) -> TrailingSlashAction
fn clone(&self) -> TrailingSlashAction
Returns a copy 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 TrailingSlashAction
impl Debug for TrailingSlashAction
source§impl PartialEq for TrailingSlashAction
impl PartialEq for TrailingSlashAction
source§fn eq(&self, other: &TrailingSlashAction) -> bool
fn eq(&self, other: &TrailingSlashAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TrailingSlashAction
impl Eq for TrailingSlashAction
impl StructuralPartialEq for TrailingSlashAction
Auto Trait Implementations§
impl Freeze for TrailingSlashAction
impl RefUnwindSafe for TrailingSlashAction
impl Send for TrailingSlashAction
impl Sync for TrailingSlashAction
impl Unpin for TrailingSlashAction
impl UnwindSafe for TrailingSlashAction
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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.