pub struct HttpHookParams {
pub url: String,
pub if: Option<String>,
pub timeout: Option<u64>,
pub headers: Option<HashMap<String, String>>,
pub allowed_env_vars: Option<Vec<String>>,
pub status_message: Option<String>,
pub once: Option<bool>,
}Expand description
Parameters for an HTTP webhook hook.
Fields§
§url: String§if: Option<String>§timeout: Option<u64>§headers: Option<HashMap<String, String>>§allowed_env_vars: Option<Vec<String>>§status_message: Option<String>§once: Option<bool>Trait Implementations§
Source§impl Clone for HttpHookParams
impl Clone for HttpHookParams
Source§fn clone(&self) -> HttpHookParams
fn clone(&self) -> HttpHookParams
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 HttpHookParams
impl Debug for HttpHookParams
Source§impl<'de> Deserialize<'de> for HttpHookParams
impl<'de> Deserialize<'de> for HttpHookParams
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 HttpHookParams
impl RefUnwindSafe for HttpHookParams
impl Send for HttpHookParams
impl Sync for HttpHookParams
impl Unpin for HttpHookParams
impl UnsafeUnpin for HttpHookParams
impl UnwindSafe for HttpHookParams
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