pub struct HookHandler {
pub handler_type: HookHandlerType,
pub timeout: Duration,
pub status_message: Option<String>,
pub if_condition: Option<String>,
pub once: bool,
pub config: HookHandlerConfig,
}Fields§
§handler_type: HookHandlerType§timeout: Duration§status_message: Option<String>§if_condition: Option<String>§once: bool§config: HookHandlerConfigTrait Implementations§
Source§impl Clone for HookHandler
impl Clone for HookHandler
Source§fn clone(&self) -> HookHandler
fn clone(&self) -> HookHandler
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 moreSource§impl Debug for HookHandler
impl Debug for HookHandler
Source§impl PartialEq for HookHandler
impl PartialEq for HookHandler
Source§fn eq(&self, other: &HookHandler) -> bool
fn eq(&self, other: &HookHandler) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HookHandler
impl StructuralPartialEq for HookHandler
Auto Trait Implementations§
impl Freeze for HookHandler
impl RefUnwindSafe for HookHandler
impl Send for HookHandler
impl Sync for HookHandler
impl Unpin for HookHandler
impl UnsafeUnpin for HookHandler
impl UnwindSafe for HookHandler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.