pub struct SecurityStateChangedEventBuilder { /* private fields */ }
Available on crate feature
Security
only.Implementations§
Source§impl SecurityStateChangedEventBuilder
impl SecurityStateChangedEventBuilder
Sourcepub fn security_state(&mut self, v: SecurityState) -> &mut Self
pub fn security_state(&mut self, v: SecurityState) -> &mut Self
Security state.
Sourcepub fn scheme_is_cryptographic(&mut self, v: bool) -> &mut Self
👎Deprecated
pub fn scheme_is_cryptographic(&mut self, v: bool) -> &mut Self
True if the page was loaded over cryptographic transport such as HTTPS.
Sourcepub fn explanations(&mut self, v: Vec<SecurityStateExplanation>) -> &mut Self
pub fn explanations(&mut self, v: Vec<SecurityStateExplanation>) -> &mut Self
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(&mut self, v: InsecureContentStatus) -> &mut Self
👎Deprecated
pub fn insecure_content_status(&mut self, v: InsecureContentStatus) -> &mut Self
Information about insecure content on the page.
Sourcepub fn summary(&mut self, v: String) -> &mut Self
pub fn summary(&mut self, v: String) -> &mut Self
Overrides user-visible description of the state.
pub fn build(&mut self) -> Result<SecurityStateChangedEvent, &'static str>
Trait Implementations§
Source§impl Clone for SecurityStateChangedEventBuilder
impl Clone for SecurityStateChangedEventBuilder
Source§fn clone(&self) -> SecurityStateChangedEventBuilder
fn clone(&self) -> SecurityStateChangedEventBuilder
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 moreAuto Trait Implementations§
impl Freeze for SecurityStateChangedEventBuilder
impl RefUnwindSafe for SecurityStateChangedEventBuilder
impl Send for SecurityStateChangedEventBuilder
impl Sync for SecurityStateChangedEventBuilder
impl Unpin for SecurityStateChangedEventBuilder
impl UnwindSafe for SecurityStateChangedEventBuilder
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