pub struct HandleCertificateErrorParams { /* private fields */ }Expand description
Handles a certificate error that fired a certificateError event.
Implementations§
Source§impl HandleCertificateErrorParams
impl HandleCertificateErrorParams
Sourcepub fn builder(
event_id: u64,
action: impl Into<CertificateErrorAction>,
) -> HandleCertificateErrorParamsBuilder
pub fn builder( event_id: u64, action: impl Into<CertificateErrorAction>, ) -> HandleCertificateErrorParamsBuilder
Creates a builder for this type with the required parameters:
event_id: The ID of the event.action: The action to take on the certificate error.
Sourcepub fn action(&self) -> &CertificateErrorAction
pub fn action(&self) -> &CertificateErrorAction
The action to take on the certificate error.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for HandleCertificateErrorParams
impl<'a> CdpCommand<'a> for HandleCertificateErrorParams
Source§impl Clone for HandleCertificateErrorParams
impl Clone for HandleCertificateErrorParams
Source§fn clone(&self) -> HandleCertificateErrorParams
fn clone(&self) -> HandleCertificateErrorParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandleCertificateErrorParams
impl Debug for HandleCertificateErrorParams
Source§impl Default for HandleCertificateErrorParams
impl Default for HandleCertificateErrorParams
Source§fn default() -> HandleCertificateErrorParams
fn default() -> HandleCertificateErrorParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HandleCertificateErrorParams
impl<'de> Deserialize<'de> for HandleCertificateErrorParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HandleCertificateErrorParams
impl RefUnwindSafe for HandleCertificateErrorParams
impl Send for HandleCertificateErrorParams
impl Sync for HandleCertificateErrorParams
impl Unpin for HandleCertificateErrorParams
impl UnsafeUnpin for HandleCertificateErrorParams
impl UnwindSafe for HandleCertificateErrorParams
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