pub enum WebhookConfigInsecureSsl {
String(String),
Number(f64),
}
Variants§
String(String)
Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
Number(f64)
Trait Implementations§
Source§impl Clone for WebhookConfigInsecureSsl
impl Clone for WebhookConfigInsecureSsl
Source§fn clone(&self) -> WebhookConfigInsecureSsl
fn clone(&self) -> WebhookConfigInsecureSsl
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 Debug for WebhookConfigInsecureSsl
impl Debug for WebhookConfigInsecureSsl
Source§impl Default for WebhookConfigInsecureSsl
impl Default for WebhookConfigInsecureSsl
Source§impl<'de> Deserialize<'de> for WebhookConfigInsecureSsl
impl<'de> Deserialize<'de> for WebhookConfigInsecureSsl
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
Source§impl PartialEq for WebhookConfigInsecureSsl
impl PartialEq for WebhookConfigInsecureSsl
Source§impl Serialize for WebhookConfigInsecureSsl
impl Serialize for WebhookConfigInsecureSsl
impl StructuralPartialEq for WebhookConfigInsecureSsl
Auto Trait Implementations§
impl Freeze for WebhookConfigInsecureSsl
impl RefUnwindSafe for WebhookConfigInsecureSsl
impl Send for WebhookConfigInsecureSsl
impl Sync for WebhookConfigInsecureSsl
impl Unpin for WebhookConfigInsecureSsl
impl UnwindSafe for WebhookConfigInsecureSsl
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