pub enum ContentSecurityPolicySource {
Http,
Meta,
}Variants§
Trait Implementations§
Source§impl AsRef<str> for ContentSecurityPolicySource
impl AsRef<str> for ContentSecurityPolicySource
Source§impl Clone for ContentSecurityPolicySource
impl Clone for ContentSecurityPolicySource
Source§fn clone(&self) -> ContentSecurityPolicySource
fn clone(&self) -> ContentSecurityPolicySource
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 ContentSecurityPolicySource
impl Debug for ContentSecurityPolicySource
Source§impl<'de> Deserialize<'de> for ContentSecurityPolicySource
impl<'de> Deserialize<'de> for ContentSecurityPolicySource
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 Hash for ContentSecurityPolicySource
impl Hash for ContentSecurityPolicySource
impl Eq for ContentSecurityPolicySource
impl StructuralPartialEq for ContentSecurityPolicySource
Auto Trait Implementations§
impl Freeze for ContentSecurityPolicySource
impl RefUnwindSafe for ContentSecurityPolicySource
impl Send for ContentSecurityPolicySource
impl Sync for ContentSecurityPolicySource
impl Unpin for ContentSecurityPolicySource
impl UnwindSafe for ContentSecurityPolicySource
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