Struct content_security_policy::Request
source · pub struct Request {
pub url: Url,
pub origin: Origin,
pub redirect_count: u32,
pub destination: Destination,
pub initiator: Initiator,
pub nonce: String,
pub integrity_metadata: String,
pub parser_metadata: ParserMetadata,
}
Expand description
request to be validated
https://fetch.spec.whatwg.org/#concept-request
Fields§
§url: Url
§origin: Origin
§redirect_count: u32
§destination: Destination
§initiator: Initiator
§nonce: String
§integrity_metadata: String
§parser_metadata: ParserMetadata
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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