pub struct ConfiguredHandler {Show 15 fields
pub handler_id: String,
pub plugin_id: PluginId,
pub plugin_root: PathBuf,
pub source_path: PathBuf,
pub allowed_http_hosts: Vec<String>,
pub allowed_env_vars: Vec<String>,
pub event_name: HookEventName,
pub handler_type: HookHandlerType,
pub timeout: Duration,
pub status_message: Option<String>,
pub if_condition: Option<String>,
pub once: bool,
pub matcher: Option<CompiledMatcher>,
pub config: ConfiguredHandlerConfig,
pub priority: HandlerPriority,
}Expand description
Runtime-ready hook handler.
Fields§
§handler_id: String§plugin_id: PluginId§plugin_root: PathBuf§source_path: PathBuf§allowed_http_hosts: Vec<String>§allowed_env_vars: Vec<String>§event_name: HookEventName§handler_type: HookHandlerType§timeout: Duration§status_message: Option<String>§if_condition: Option<String>§once: bool§matcher: Option<CompiledMatcher>§config: ConfiguredHandlerConfig§priority: HandlerPriorityTrait Implementations§
Source§impl Clone for ConfiguredHandler
impl Clone for ConfiguredHandler
Source§fn clone(&self) -> ConfiguredHandler
fn clone(&self) -> ConfiguredHandler
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ConfiguredHandler
impl !UnwindSafe for ConfiguredHandler
impl Freeze for ConfiguredHandler
impl Send for ConfiguredHandler
impl Sync for ConfiguredHandler
impl Unpin for ConfiguredHandler
impl UnsafeUnpin for ConfiguredHandler
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