Struct github_webhook::payload_types::PingEventHookConfig
source · pub struct PingEventHookConfig<'a> {
pub content_type: PingEventHookConfigContentType,
pub secret: Option<&'a str>,
pub url: &'a str,
pub insecure_ssl: PingEventHookConfigInsecureSsl,
}
Fields§
§content_type: PingEventHookConfigContentType
The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
secret: Option<&'a str>
If provided, the secret
will be used as the key
to generate the HMAC hex digest value for delivery signature headers.
url: &'a str
The URL to which the payloads will be delivered.
insecure_ssl: PingEventHookConfigInsecureSsl
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
.
Trait Implementations§
source§impl<'a> Debug for PingEventHookConfig<'a>
impl<'a> Debug for PingEventHookConfig<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for PingEventHookConfig<'a>
impl<'de: 'a, 'a> Deserialize<'de> for PingEventHookConfig<'a>
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<'a> RefUnwindSafe for PingEventHookConfig<'a>
impl<'a> Send for PingEventHookConfig<'a>
impl<'a> Sync for PingEventHookConfig<'a>
impl<'a> Unpin for PingEventHookConfig<'a>
impl<'a> UnwindSafe for PingEventHookConfig<'a>
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