pub struct VisibleSecurityStateBuilder { /* private fields */ }
Implementations§
Source§impl VisibleSecurityStateBuilder
impl VisibleSecurityStateBuilder
pub fn security_state( self, security_state: impl Into<SecurityState>, ) -> VisibleSecurityStateBuilder
pub fn certificate_security_state( self, certificate_security_state: impl Into<CertificateSecurityState>, ) -> VisibleSecurityStateBuilder
pub fn safety_tip_info( self, safety_tip_info: impl Into<SafetyTipInfo>, ) -> VisibleSecurityStateBuilder
pub fn security_state_issue_id( self, security_state_issue_id: impl Into<String>, ) -> VisibleSecurityStateBuilder
pub fn security_state_issue_ids<I, S>( self, security_state_issue_ids: I, ) -> VisibleSecurityStateBuilder
pub fn build(self) -> Result<VisibleSecurityState, String>
Trait Implementations§
Source§impl Clone for VisibleSecurityStateBuilder
impl Clone for VisibleSecurityStateBuilder
Source§fn clone(&self) -> VisibleSecurityStateBuilder
fn clone(&self) -> VisibleSecurityStateBuilder
Returns a copy 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 VisibleSecurityStateBuilder
impl Default for VisibleSecurityStateBuilder
Source§fn default() -> VisibleSecurityStateBuilder
fn default() -> VisibleSecurityStateBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VisibleSecurityStateBuilder
impl RefUnwindSafe for VisibleSecurityStateBuilder
impl Send for VisibleSecurityStateBuilder
impl Sync for VisibleSecurityStateBuilder
impl Unpin for VisibleSecurityStateBuilder
impl UnwindSafe for VisibleSecurityStateBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more