pub enum ViewerProtocolPolicy {
AllowAll,
RedirectToHttps,
HttpsOnly,
}Variants§
Trait Implementations§
Source§impl Clone for ViewerProtocolPolicy
impl Clone for ViewerProtocolPolicy
Source§fn clone(&self) -> ViewerProtocolPolicy
fn clone(&self) -> ViewerProtocolPolicy
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 ViewerProtocolPolicy
impl Debug for ViewerProtocolPolicy
Source§impl From<ViewerProtocolPolicy> for String
impl From<ViewerProtocolPolicy> for String
Source§fn from(value: ViewerProtocolPolicy) -> Self
fn from(value: ViewerProtocolPolicy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ViewerProtocolPolicy
impl RefUnwindSafe for ViewerProtocolPolicy
impl Send for ViewerProtocolPolicy
impl Sync for ViewerProtocolPolicy
impl Unpin for ViewerProtocolPolicy
impl UnwindSafe for ViewerProtocolPolicy
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