pub struct OrgsUpdateWebhookRequestConfig {
pub url: String,
pub content_type: Option<String>,
pub secret: Option<String>,
pub insecure_ssl: Option<Box<WebhookConfigInsecureSsl>>,
}
Expand description
OrgsUpdateWebhookRequestConfig : Key/value pairs to provide settings for this webhook.
Fields§
§url: String
The URL to which the payloads will be delivered.
content_type: Option<String>
The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
secret: Option<String>
If provided, the secret
will be used as the key
to generate the HMAC hex digest value for delivery signature headers.
insecure_ssl: Option<Box<WebhookConfigInsecureSsl>>
Implementations§
Source§impl OrgsUpdateWebhookRequestConfig
impl OrgsUpdateWebhookRequestConfig
Sourcepub fn new(url: String) -> OrgsUpdateWebhookRequestConfig
pub fn new(url: String) -> OrgsUpdateWebhookRequestConfig
Key/value pairs to provide settings for this webhook.
Trait Implementations§
Source§impl Clone for OrgsUpdateWebhookRequestConfig
impl Clone for OrgsUpdateWebhookRequestConfig
Source§fn clone(&self) -> OrgsUpdateWebhookRequestConfig
fn clone(&self) -> OrgsUpdateWebhookRequestConfig
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 Default for OrgsUpdateWebhookRequestConfig
impl Default for OrgsUpdateWebhookRequestConfig
Source§fn default() -> OrgsUpdateWebhookRequestConfig
fn default() -> OrgsUpdateWebhookRequestConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrgsUpdateWebhookRequestConfig
impl<'de> Deserialize<'de> for OrgsUpdateWebhookRequestConfig
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 OrgsUpdateWebhookRequestConfig
impl PartialEq for OrgsUpdateWebhookRequestConfig
Source§fn eq(&self, other: &OrgsUpdateWebhookRequestConfig) -> bool
fn eq(&self, other: &OrgsUpdateWebhookRequestConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OrgsUpdateWebhookRequestConfig
Auto Trait Implementations§
impl Freeze for OrgsUpdateWebhookRequestConfig
impl RefUnwindSafe for OrgsUpdateWebhookRequestConfig
impl Send for OrgsUpdateWebhookRequestConfig
impl Sync for OrgsUpdateWebhookRequestConfig
impl Unpin for OrgsUpdateWebhookRequestConfig
impl UnwindSafe for OrgsUpdateWebhookRequestConfig
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