pub struct WebhookAction {
pub id: WebhookActionId,
pub url: String,
pub use_params: bool,
pub as_json: bool,
pub include_document: bool,
pub body: Option<String>,
pub headers: Option<HashMap<String, String>>,
pub params: Option<HashMap<String, String>>,
}Expand description
A webhook action that can be executed when a workflow is triggered.
Fields§
§id: WebhookActionId§url: String§use_params: bool§as_json: bool§include_document: bool§body: Option<String>§headers: Option<HashMap<String, String>>§params: Option<HashMap<String, String>>Trait Implementations§
Source§impl Clone for WebhookAction
impl Clone for WebhookAction
Source§fn clone(&self) -> WebhookAction
fn clone(&self) -> WebhookAction
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 WebhookAction
impl Debug for WebhookAction
Source§impl<'de> Deserialize<'de> for WebhookAction
impl<'de> Deserialize<'de> for WebhookAction
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 WebhookAction
impl RefUnwindSafe for WebhookAction
impl Send for WebhookAction
impl Sync for WebhookAction
impl Unpin for WebhookAction
impl UnsafeUnpin for WebhookAction
impl UnwindSafe for WebhookAction
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