pub struct HookGroup {
pub matcher: Option<String>,
pub hooks: Vec<HookDefinition>,
}Expand description
Hook group configuration
Fields§
§matcher: Option<String>Matcher pattern (glob or regex)
hooks: Vec<HookDefinition>Hooks in this group
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HookGroup
impl<'de> Deserialize<'de> for HookGroup
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 HookGroup
impl RefUnwindSafe for HookGroup
impl Send for HookGroup
impl Sync for HookGroup
impl Unpin for HookGroup
impl UnsafeUnpin for HookGroup
impl UnwindSafe for HookGroup
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