pub struct WebhookConfig {
pub url: Option<String>,
pub content_type: Option<String>,
pub insecure_ssl: Option<Value>,
pub secret: Option<String>,
}Expand description
The delivery settings of a webhook.
Fields§
§url: Option<String>The delivery URL.
content_type: Option<String>The body format, json or form.
insecure_ssl: Option<Value>GitHub reports this as the string “0” or “1”, and sometimes as a number.
secret: Option<String>GitHub reports a set secret as a masked string and omits it otherwise.
Implementations§
Trait Implementations§
Source§impl Clone for WebhookConfig
impl Clone for WebhookConfig
Source§fn clone(&self) -> WebhookConfig
fn clone(&self) -> WebhookConfig
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 WebhookConfig
impl Debug for WebhookConfig
impl Eq for WebhookConfig
Source§impl<'ʄ> Facet<'ʄ> for WebhookConfig
impl<'ʄ> Facet<'ʄ> for WebhookConfig
Source§impl PartialEq for WebhookConfig
impl PartialEq for WebhookConfig
impl StructuralPartialEq for WebhookConfig
Auto Trait Implementations§
impl Freeze for WebhookConfig
impl RefUnwindSafe for WebhookConfig
impl Send for WebhookConfig
impl Sync for WebhookConfig
impl Unpin for WebhookConfig
impl UnsafeUnpin for WebhookConfig
impl UnwindSafe for WebhookConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.