pub struct CspConfig {
pub connect_domains: DirectivePolicy,
pub resource_domains: DirectivePolicy,
pub frame_domains: DirectivePolicy,
pub widgets: Vec<WidgetScoped>,
}Expand description
Complete CSP configuration: three global directives plus widget overrides.
Fields§
§connect_domains: DirectivePolicy§resource_domains: DirectivePolicy§frame_domains: DirectivePolicy§widgets: Vec<WidgetScoped>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CspConfig
impl RefUnwindSafe for CspConfig
impl Send for CspConfig
impl Sync for CspConfig
impl Unpin for CspConfig
impl UnsafeUnpin for CspConfig
impl UnwindSafe for CspConfig
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