pub struct WebhookChannel {
pub url: String,
pub method: String,
pub headers: BTreeMap<String, String>,
}Expand description
Configuration for type: webhook.
Fields§
§url: StringTarget URL for webhook delivery.
method: StringHTTP method (defaults to POST).
headers: BTreeMap<String, String>Optional HTTP headers.
Trait Implementations§
Source§impl Clone for WebhookChannel
impl Clone for WebhookChannel
Source§fn clone(&self) -> WebhookChannel
fn clone(&self) -> WebhookChannel
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 Debug for WebhookChannel
impl Debug for WebhookChannel
Source§impl<'de> Deserialize<'de> for WebhookChannel
impl<'de> Deserialize<'de> for WebhookChannel
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 WebhookChannel
impl RefUnwindSafe for WebhookChannel
impl Send for WebhookChannel
impl Sync for WebhookChannel
impl Unpin for WebhookChannel
impl UnsafeUnpin for WebhookChannel
impl UnwindSafe for WebhookChannel
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