Struct cdp::security::CertificateErrorEvent
[−]
[src]
pub struct CertificateErrorEvent<'a> { pub event_id: i32, pub error_type: Cow<'a, str>, pub request_url: Cow<'a, str>, }
[Experimental] There is a certificate error. If overriding certificate errors is enabled, then it should be handled with the handleCertificateError command. Note: this event does not fire if the certificate error has been allowed internally.
Event Security.certificateError
Domain Module: cdp::security
Event Struct: cdp::security::CertificateErrorEvent
Fields
event_id: i32
The ID of the event.
error_type: Cow<'a, str>
The type of the error.
request_url: Cow<'a, str>
The url that was requested.
Trait Implementations
impl<'a> Clone for CertificateErrorEvent<'a>
[src]
fn clone(&self) -> CertificateErrorEvent<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for CertificateErrorEvent<'a>
[src]
impl<'a> PartialEq for CertificateErrorEvent<'a>
[src]
fn eq(&self, __arg_0: &CertificateErrorEvent<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CertificateErrorEvent<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpEvent for CertificateErrorEvent<'a>
[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "Security.certificateError"
impl<'a> SerializeCdpEvent for CertificateErrorEvent<'a>
[src]
fn event_name(&self) -> &str
[src]
fn serialize_event_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpEvent<'de> for CertificateErrorEvent<'a>
[src]
fn deserialize_event<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,