pub struct OrgsCreateWebhookRequestConfig {
pub url: String,
pub content_type: Option<String>,
pub secret: Option<String>,
pub insecure_ssl: Option<Box<WebhookConfigInsecureSsl>>,
pub username: Option<String>,
pub password: Option<String>,
}
Expand description
OrgsCreateWebhookRequestConfig : 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>>
§username: Option<String>
§password: Option<String>
Implementations§
Source§impl OrgsCreateWebhookRequestConfig
impl OrgsCreateWebhookRequestConfig
Sourcepub fn new(url: String) -> OrgsCreateWebhookRequestConfig
pub fn new(url: String) -> OrgsCreateWebhookRequestConfig
Key/value pairs to provide settings for this webhook.
Trait Implementations§
Source§impl Clone for OrgsCreateWebhookRequestConfig
impl Clone for OrgsCreateWebhookRequestConfig
Source§fn clone(&self) -> OrgsCreateWebhookRequestConfig
fn clone(&self) -> OrgsCreateWebhookRequestConfig
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 OrgsCreateWebhookRequestConfig
impl Default for OrgsCreateWebhookRequestConfig
Source§fn default() -> OrgsCreateWebhookRequestConfig
fn default() -> OrgsCreateWebhookRequestConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrgsCreateWebhookRequestConfig
impl<'de> Deserialize<'de> for OrgsCreateWebhookRequestConfig
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 OrgsCreateWebhookRequestConfig
impl PartialEq for OrgsCreateWebhookRequestConfig
Source§fn eq(&self, other: &OrgsCreateWebhookRequestConfig) -> bool
fn eq(&self, other: &OrgsCreateWebhookRequestConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OrgsCreateWebhookRequestConfig
Auto Trait Implementations§
impl Freeze for OrgsCreateWebhookRequestConfig
impl RefUnwindSafe for OrgsCreateWebhookRequestConfig
impl Send for OrgsCreateWebhookRequestConfig
impl Sync for OrgsCreateWebhookRequestConfig
impl Unpin for OrgsCreateWebhookRequestConfig
impl UnwindSafe for OrgsCreateWebhookRequestConfig
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