Skip to main content

InspectorIssueDetails

Struct InspectorIssueDetails 

Source
pub struct InspectorIssueDetails<'a> { /* private fields */ }
Expand description

This struct holds a list of optional fields with additional information specific to the kind of issue. When adding a new issue code, please also add a new optional field to this type.

Implementations§

Source§

impl<'a> InspectorIssueDetails<'a>

Source

pub fn builder() -> InspectorIssueDetailsBuilder<'a>

Creates a builder for this type.

Source

pub fn cookie_issue_details(&self) -> Option<&CookieIssueDetails<'a>>

Source

pub fn mixed_content_issue_details( &self, ) -> Option<&MixedContentIssueDetails<'a>>

Source

pub fn blocked_by_response_issue_details( &self, ) -> Option<&BlockedByResponseIssueDetails<'a>>

Source

pub fn heavy_ad_issue_details(&self) -> Option<&HeavyAdIssueDetails<'a>>

Source

pub fn content_security_policy_issue_details( &self, ) -> Option<&ContentSecurityPolicyIssueDetails<'a>>

Source

pub fn shared_array_buffer_issue_details( &self, ) -> Option<&SharedArrayBufferIssueDetails<'a>>

Source

pub fn cors_issue_details(&self) -> Option<&CorsIssueDetails<'a>>

Source

pub fn attribution_reporting_issue_details( &self, ) -> Option<&AttributionReportingIssueDetails<'a>>

Source

pub fn quirks_mode_issue_details(&self) -> Option<&QuirksModeIssueDetails<'a>>

Source

pub fn partitioning_blob_url_issue_details( &self, ) -> Option<&PartitioningBlobURLIssueDetails<'a>>

Source

pub fn navigator_user_agent_issue_details( &self, ) -> Option<&NavigatorUserAgentIssueDetails<'a>>

Source

pub fn generic_issue_details(&self) -> Option<&GenericIssueDetails<'a>>

Source

pub fn deprecation_issue_details(&self) -> Option<&DeprecationIssueDetails<'a>>

Source

pub fn client_hint_issue_details(&self) -> Option<&ClientHintIssueDetails<'a>>

Source

pub fn federated_auth_request_issue_details( &self, ) -> Option<&FederatedAuthRequestIssueDetails>

Source

pub fn bounce_tracking_issue_details( &self, ) -> Option<&BounceTrackingIssueDetails<'a>>

Source

pub fn cookie_deprecation_metadata_issue_details( &self, ) -> Option<&CookieDeprecationMetadataIssueDetails<'a>>

Source

pub fn stylesheet_loading_issue_details( &self, ) -> Option<&StylesheetLoadingIssueDetails<'a>>

Source

pub fn property_rule_issue_details( &self, ) -> Option<&PropertyRuleIssueDetails<'a>>

Source

pub fn federated_auth_user_info_request_issue_details( &self, ) -> Option<&FederatedAuthUserInfoRequestIssueDetails>

Source

pub fn shared_dictionary_issue_details( &self, ) -> Option<&SharedDictionaryIssueDetails<'a>>

Source

pub fn element_accessibility_issue_details( &self, ) -> Option<&ElementAccessibilityIssueDetails>

Source

pub fn sri_message_signature_issue_details( &self, ) -> Option<&SRIMessageSignatureIssueDetails<'a>>

Source

pub fn unencoded_digest_issue_details( &self, ) -> Option<&UnencodedDigestIssueDetails<'a>>

Source

pub fn connection_allowlist_issue_details( &self, ) -> Option<&ConnectionAllowlistIssueDetails<'a>>

Source

pub fn user_reidentification_issue_details( &self, ) -> Option<&UserReidentificationIssueDetails<'a>>

Source

pub fn permission_element_issue_details( &self, ) -> Option<&PermissionElementIssueDetails<'a>>

Source

pub fn performance_issue_details(&self) -> Option<&PerformanceIssueDetails<'a>>

Source

pub fn selective_permissions_intervention_issue_details( &self, ) -> Option<&SelectivePermissionsInterventionIssueDetails<'a>>

Trait Implementations§

Source§

impl<'a> Clone for InspectorIssueDetails<'a>

Source§

fn clone(&self) -> InspectorIssueDetails<'a>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for InspectorIssueDetails<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for InspectorIssueDetails<'a>

Source§

fn default() -> InspectorIssueDetails<'a>

Returns the “default value” for a type. Read more
Source§

impl<'de, 'a> Deserialize<'de> for InspectorIssueDetails<'a>

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> Serialize for InspectorIssueDetails<'a>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,