pub struct CertificateErrorEventParamsBuilder { /* private fields */ }Expand description
Builder for CertificateErrorEventParams.
Implementations§
Source§impl CertificateErrorEventParamsBuilder
impl CertificateErrorEventParamsBuilder
Sourcepub fn error_type(&mut self, value: String) -> &mut Self
pub fn error_type(&mut self, value: String) -> &mut Self
The type of the error.
Sourcepub fn request_url(&mut self, value: String) -> &mut Self
pub fn request_url(&mut self, value: String) -> &mut Self
The url that was requested.
Sourcepub fn build(
&self,
) -> Result<CertificateErrorEventParams, CertificateErrorEventParamsBuilderError>
pub fn build( &self, ) -> Result<CertificateErrorEventParams, CertificateErrorEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for CertificateErrorEventParamsBuilder
impl Clone for CertificateErrorEventParamsBuilder
Source§fn clone(&self) -> CertificateErrorEventParamsBuilder
fn clone(&self) -> CertificateErrorEventParamsBuilder
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 CertificateErrorEventParamsBuilder
impl RefUnwindSafe for CertificateErrorEventParamsBuilder
impl Send for CertificateErrorEventParamsBuilder
impl Sync for CertificateErrorEventParamsBuilder
impl Unpin for CertificateErrorEventParamsBuilder
impl UnsafeUnpin for CertificateErrorEventParamsBuilder
impl UnwindSafe for CertificateErrorEventParamsBuilder
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