pub struct WebhookDestinationAttributes {
pub url: String,
pub security_token: Option<String>,
pub compression: Option<String>,
}Expand description
Destination configuration for a webhook.
Fields§
§url: StringTarget URL that receives webhook payloads.
security_token: Option<String>Optional token sent with each payload so the receiver can verify authenticity; generated automatically when omitted.
compression: Option<String>Optional payload compression (gzip or none).
Trait Implementations§
Source§impl Clone for WebhookDestinationAttributes
impl Clone for WebhookDestinationAttributes
Source§fn clone(&self) -> WebhookDestinationAttributes
fn clone(&self) -> WebhookDestinationAttributes
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 WebhookDestinationAttributes
impl Debug for WebhookDestinationAttributes
Source§impl<'de> Deserialize<'de> for WebhookDestinationAttributes
impl<'de> Deserialize<'de> for WebhookDestinationAttributes
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 Freeze for WebhookDestinationAttributes
impl RefUnwindSafe for WebhookDestinationAttributes
impl Send for WebhookDestinationAttributes
impl Sync for WebhookDestinationAttributes
impl Unpin for WebhookDestinationAttributes
impl UnsafeUnpin for WebhookDestinationAttributes
impl UnwindSafe for WebhookDestinationAttributes
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