pub struct SecurityStateExplanationBuilder { /* private fields */ }
Available on crate feature
Security
only.Implementations§
Source§impl SecurityStateExplanationBuilder
impl SecurityStateExplanationBuilder
Sourcepub fn security_state(&mut self, v: SecurityState) -> &mut Self
pub fn security_state(&mut self, v: SecurityState) -> &mut Self
Security state representing the severity of the factor being explained.
Sourcepub fn description(&mut self, v: String) -> &mut Self
pub fn description(&mut self, v: String) -> &mut Self
Full text explanation of the factor.
Sourcepub fn mixed_content_type(&mut self, v: MixedContentType) -> &mut Self
pub fn mixed_content_type(&mut self, v: MixedContentType) -> &mut Self
The type of mixed content described by the explanation.
Sourcepub fn certificate(&mut self, v: Vec<String>) -> &mut Self
pub fn certificate(&mut self, v: Vec<String>) -> &mut Self
Page certificate.
Sourcepub fn recommendations(&mut self, v: Vec<String>) -> &mut Self
pub fn recommendations(&mut self, v: Vec<String>) -> &mut Self
Recommendations to fix any issues.
pub fn build(&mut self) -> Result<SecurityStateExplanation, &'static str>
Trait Implementations§
Source§impl Clone for SecurityStateExplanationBuilder
impl Clone for SecurityStateExplanationBuilder
Source§fn clone(&self) -> SecurityStateExplanationBuilder
fn clone(&self) -> SecurityStateExplanationBuilder
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 SecurityStateExplanationBuilder
impl RefUnwindSafe for SecurityStateExplanationBuilder
impl Send for SecurityStateExplanationBuilder
impl Sync for SecurityStateExplanationBuilder
impl Unpin for SecurityStateExplanationBuilder
impl UnwindSafe for SecurityStateExplanationBuilder
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