pub struct SecurityStateExplanationBuilder { /* private fields */ }Implementations§
Source§impl SecurityStateExplanationBuilder
impl SecurityStateExplanationBuilder
pub fn security_state(self, security_state: impl Into<SecurityState>) -> Self
pub fn title(self, title: impl Into<String>) -> Self
pub fn summary(self, summary: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
pub fn mixed_content_type( self, mixed_content_type: impl Into<MixedContentType>, ) -> Self
pub fn certificate(self, certificate: impl Into<String>) -> Self
pub fn certificates<I, S>(self, certificates: I) -> Self
pub fn recommendation(self, recommendation: impl Into<String>) -> Self
pub fn recommendations<I, S>(self, recommendations: I) -> Self
pub fn build(self) -> Result<SecurityStateExplanation, String>
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 moreSource§impl Default for SecurityStateExplanationBuilder
impl Default for SecurityStateExplanationBuilder
Source§fn default() -> SecurityStateExplanationBuilder
fn default() -> SecurityStateExplanationBuilder
Returns the “default value” for a type. Read more
Auto 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