pub struct SecurityStateChangedEventParamsBuilder { /* private fields */ }Expand description
Builder for SecurityStateChangedEventParams.
Implementations§
Source§impl SecurityStateChangedEventParamsBuilder
impl SecurityStateChangedEventParamsBuilder
Sourcepub fn security_state(&mut self, value: SecurityState) -> &mut Self
pub fn security_state(&mut self, value: SecurityState) -> &mut Self
Security state.
Sourcepub fn scheme_is_cryptographic(&mut self, value: bool) -> &mut Self
pub fn scheme_is_cryptographic(&mut self, value: bool) -> &mut Self
True if the page was loaded over cryptographic transport such as HTTPS.
Sourcepub fn explanations(
&mut self,
value: Vec<SecurityStateExplanation>,
) -> &mut Self
pub fn explanations( &mut self, value: Vec<SecurityStateExplanation>, ) -> &mut Self
Previously a list of explanations for the security state. Now always empty.
Sourcepub fn insecure_content_status(
&mut self,
value: InsecureContentStatus,
) -> &mut Self
pub fn insecure_content_status( &mut self, value: InsecureContentStatus, ) -> &mut Self
Information about insecure content on the page.
Sourcepub fn summary(&mut self, value: Option<String>) -> &mut Self
pub fn summary(&mut self, value: Option<String>) -> &mut Self
Overrides user-visible description of the state. Always omitted.
Sourcepub fn build(
&self,
) -> Result<SecurityStateChangedEventParams, SecurityStateChangedEventParamsBuilderError>
pub fn build( &self, ) -> Result<SecurityStateChangedEventParams, SecurityStateChangedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for SecurityStateChangedEventParamsBuilder
impl Clone for SecurityStateChangedEventParamsBuilder
Source§fn clone(&self) -> SecurityStateChangedEventParamsBuilder
fn clone(&self) -> SecurityStateChangedEventParamsBuilder
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 SecurityStateChangedEventParamsBuilder
impl RefUnwindSafe for SecurityStateChangedEventParamsBuilder
impl Send for SecurityStateChangedEventParamsBuilder
impl Sync for SecurityStateChangedEventParamsBuilder
impl Unpin for SecurityStateChangedEventParamsBuilder
impl UnsafeUnpin for SecurityStateChangedEventParamsBuilder
impl UnwindSafe for SecurityStateChangedEventParamsBuilder
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