pub enum ContentSecurityPolicySource {
Http,
Meta,
Unrecognized(String),
}Expand description
Experimental: may change without notice.
Variants§
Http
HTTP
Meta
Meta
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for ContentSecurityPolicySource
impl Clone for ContentSecurityPolicySource
Source§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
impl Eq for ContentSecurityPolicySource
Source§impl Hash for ContentSecurityPolicySource
impl Hash for ContentSecurityPolicySource
impl StructuralPartialEq for ContentSecurityPolicySource
Auto Trait Implementations§
impl Forget for ContentSecurityPolicySource
impl Freeze for ContentSecurityPolicySource
impl RefUnwindSafe for ContentSecurityPolicySource
impl Send for ContentSecurityPolicySource
impl Sync for ContentSecurityPolicySource
impl Unpin for ContentSecurityPolicySource
impl UnsafeUnpin 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