pub struct SecurityStateChangedEvent { /* private fields */ }
Available on crate feature
Security
only.Expand description
The security state of the page changed.
Implementations§
Source§impl SecurityStateChangedEvent
impl SecurityStateChangedEvent
pub fn builder() -> SecurityStateChangedEventBuilder
Sourcepub fn security_state(&self) -> &SecurityState
pub fn security_state(&self) -> &SecurityState
Security state.
Sourcepub fn scheme_is_cryptographic(&self) -> bool
👎Deprecated
pub fn scheme_is_cryptographic(&self) -> bool
True if the page was loaded over cryptographic transport such as HTTPS.
Sourcepub fn explanations(&self) -> &[SecurityStateExplanation]
pub fn explanations(&self) -> &[SecurityStateExplanation]
List of explanations for the security state. If the overall security state is insecure
or
warning
, at least one corresponding explanation should be included.
Sourcepub fn insecure_content_status(&self) -> &InsecureContentStatus
👎Deprecated
pub fn insecure_content_status(&self) -> &InsecureContentStatus
Information about insecure content on the page.
Trait Implementations§
Source§impl Clone for SecurityStateChangedEvent
impl Clone for SecurityStateChangedEvent
Source§fn clone(&self) -> SecurityStateChangedEvent
fn clone(&self) -> SecurityStateChangedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SecurityStateChangedEvent
impl Debug for SecurityStateChangedEvent
Source§impl<'de> Deserialize<'de> for SecurityStateChangedEvent
impl<'de> Deserialize<'de> for SecurityStateChangedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SecurityStateChangedEvent
impl RefUnwindSafe for SecurityStateChangedEvent
impl Send for SecurityStateChangedEvent
impl Sync for SecurityStateChangedEvent
impl Unpin for SecurityStateChangedEvent
impl UnwindSafe for SecurityStateChangedEvent
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