Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
Fields
content_type
The MIME type of this resource.
resource_url
URL of this violating resource.
Implementations
new
fn new() -> Self
set_content_type
fn set_content_type<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [content_type][crate::model::ViolatingResource::content_type].
set_resource_url
fn set_resource_url<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [resource_url][crate::model::ViolatingResource::resource_url].