Enum static_web_server::settings::file::RedirectsKind
source · #[repr(u16)]pub enum RedirectsKind {
Permanent = 301,
Temporary = 302,
}
Expand description
Represents redirects types.
Variants§
Trait Implementations§
source§impl Clone for RedirectsKind
impl Clone for RedirectsKind
source§fn clone(&self) -> RedirectsKind
fn clone(&self) -> RedirectsKind
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 RedirectsKind
impl Debug for RedirectsKind
source§impl<'de> Deserialize<'de> for RedirectsKind
impl<'de> Deserialize<'de> for RedirectsKind
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 RedirectsKind
impl RefUnwindSafe for RedirectsKind
impl Send for RedirectsKind
impl Sync for RedirectsKind
impl Unpin for RedirectsKind
impl UnwindSafe for RedirectsKind
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