pub struct HttpHook {
pub url: String,
pub timeout: Option<u64>,
pub headers: Option<HashMap<String, String>>,
pub allowed_env_vars: Option<Vec<String>>,
}Expand description
Represents an HTTP hook configuration
Fields§
§url: StringURL to POST to
timeout: Option<u64>Optional timeout in seconds
headers: Option<HashMap<String, String>>Optional headers to include
allowed_env_vars: Option<Vec<String>>Allowed env vars for interpolation
Auto Trait Implementations§
impl Freeze for HttpHook
impl RefUnwindSafe for HttpHook
impl Send for HttpHook
impl Sync for HttpHook
impl Unpin for HttpHook
impl UnsafeUnpin for HttpHook
impl UnwindSafe for HttpHook
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