pub enum RedirectTls {
Auto,
Manual,
None,
}Expand description
Where the HTTPS certificate of a redirect comes from (Redirect.tls).
Variants§
Auto
Core issues and renews a Let’s Encrypt certificate for the name.
Manual
The user uploads their own certificate
(Certificates::create).
None
No certificate of its own; HTTPS requests get the platform’s default certificate.
Implementations§
Trait Implementations§
Source§impl Clone for RedirectTls
impl Clone for RedirectTls
Source§fn clone(&self) -> RedirectTls
fn clone(&self) -> RedirectTls
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 moreimpl Copy for RedirectTls
Source§impl Debug for RedirectTls
impl Debug for RedirectTls
Source§impl<'de> Deserialize<'de> for RedirectTls
impl<'de> Deserialize<'de> for RedirectTls
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
Source§impl Display for RedirectTls
impl Display for RedirectTls
impl Eq for RedirectTls
Source§impl FromStr for RedirectTls
impl FromStr for RedirectTls
Source§impl Hash for RedirectTls
impl Hash for RedirectTls
Source§impl PartialEq for RedirectTls
impl PartialEq for RedirectTls
Source§impl Serialize for RedirectTls
impl Serialize for RedirectTls
impl StructuralPartialEq for RedirectTls
Auto Trait Implementations§
impl Freeze for RedirectTls
impl RefUnwindSafe for RedirectTls
impl Send for RedirectTls
impl Sync for RedirectTls
impl Unpin for RedirectTls
impl UnsafeUnpin for RedirectTls
impl UnwindSafe for RedirectTls
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.