pub enum CspDirectiveType {
Show 28 variants
BaseUri,
ChildSrc,
ConnectSrc,
DefaultSrc,
FencedFrameSrc,
FontSrc,
FormAction,
FrameAncestors,
FrameSrc,
ImgSrc,
ManifestSrc,
MediaSrc,
NavigateTo,
ObjectSrc,
PrefetchSrc,
ReportTo,
ReportUri,
RequireTrustedTypesFor,
Sandbox,
ScriptSource,
ScriptSourceAttr,
ScriptSourceElem,
StyleSource,
StyleSourceAttr,
StyleSourceElem,
TrustedTypes,
UpgradeInsecureRequests,
WorkerSource,
}Variants§
BaseUri
ChildSrc
ConnectSrc
DefaultSrc
FencedFrameSrc
FontSrc
FormAction
FrameAncestors
FrameSrc
ImgSrc
ManifestSrc
MediaSrc
ObjectSrc
PrefetchSrc
ReportTo
ReportUri
RequireTrustedTypesFor
Sandbox
ScriptSource
ScriptSourceAttr
ScriptSourceElem
StyleSource
StyleSourceAttr
StyleSourceElem
TrustedTypes
UpgradeInsecureRequests
WorkerSource
Trait Implementations§
Source§impl AsRef<str> for CspDirectiveType
impl AsRef<str> for CspDirectiveType
Source§impl Clone for CspDirectiveType
impl Clone for CspDirectiveType
Source§fn clone(&self) -> CspDirectiveType
fn clone(&self) -> CspDirectiveType
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 CspDirectiveType
impl Debug for CspDirectiveType
Source§impl Display for CspDirectiveType
impl Display for CspDirectiveType
Source§impl From<CspDirectiveType> for String
impl From<CspDirectiveType> for String
Source§fn from(input: CspDirectiveType) -> String
fn from(input: CspDirectiveType) -> String
Converts to this type from the input type.
Source§impl Hash for CspDirectiveType
impl Hash for CspDirectiveType
Source§impl Ord for CspDirectiveType
impl Ord for CspDirectiveType
Source§fn cmp(&self, other: &CspDirectiveType) -> Ordering
fn cmp(&self, other: &CspDirectiveType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CspDirectiveType
impl PartialEq for CspDirectiveType
Source§impl PartialOrd for CspDirectiveType
impl PartialOrd for CspDirectiveType
impl Copy for CspDirectiveType
impl Eq for CspDirectiveType
impl StructuralPartialEq for CspDirectiveType
Auto Trait Implementations§
impl Freeze for CspDirectiveType
impl RefUnwindSafe for CspDirectiveType
impl Send for CspDirectiveType
impl Sync for CspDirectiveType
impl Unpin for CspDirectiveType
impl UnwindSafe for CspDirectiveType
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