pub enum OriginProtocol {
Http,
Https,
Custom(String),
}
Expand description
Origin Protocol
Variants§
Trait Implementations§
Source§impl Clone for OriginProtocol
impl Clone for OriginProtocol
Source§fn clone(&self) -> OriginProtocol
fn clone(&self) -> OriginProtocol
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 OriginProtocol
impl Debug for OriginProtocol
Source§impl Hash for OriginProtocol
impl Hash for OriginProtocol
Source§impl PartialEq for OriginProtocol
impl PartialEq for OriginProtocol
impl Eq for OriginProtocol
impl StructuralPartialEq for OriginProtocol
Auto Trait Implementations§
impl Freeze for OriginProtocol
impl RefUnwindSafe for OriginProtocol
impl Send for OriginProtocol
impl Sync for OriginProtocol
impl Unpin for OriginProtocol
impl UnwindSafe for OriginProtocol
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