Struct cdp::security::SecurityStateChangedEvent
[−]
[src]
pub struct SecurityStateChangedEvent<'a> { pub security_state: SecurityState, pub scheme_is_cryptographic: bool, pub explanations: Vec<SecurityStateExplanation<'a>>, pub insecure_content_status: InsecureContentStatus, pub summary: Option<Cow<'a, str>>, }
[Experimental] The security state of the page changed.
Event Security.securityStateChanged
Domain Module: cdp::security
Event Struct: cdp::security::SecurityStateChangedEvent
Fields
security_state: SecurityState
Security state.
scheme_is_cryptographic: bool
True if the page was loaded over cryptographic transport such as HTTPS.
explanations: Vec<SecurityStateExplanation<'a>>
List of explanations for the security state. If the overall security state is insecure
or warning
, at least one corresponding explanation should be included.
insecure_content_status: InsecureContentStatus
Information about insecure content on the page.
summary: Option<Cow<'a, str>>
Overrides user-visible description of the state.
Trait Implementations
impl<'a> Clone for SecurityStateChangedEvent<'a>
[src]
fn clone(&self) -> SecurityStateChangedEvent<'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 SecurityStateChangedEvent<'a>
[src]
impl<'a> PartialEq for SecurityStateChangedEvent<'a>
[src]
fn eq(&self, __arg_0: &SecurityStateChangedEvent<'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: &SecurityStateChangedEvent<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpEvent for SecurityStateChangedEvent<'a>
[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "Security.securityStateChanged"
impl<'a> SerializeCdpEvent for SecurityStateChangedEvent<'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 SecurityStateChangedEvent<'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>,