#[non_exhaustive]pub struct HookListResult {
pub hooks: Vec<HookCatalogEntry>,
}Expand description
hook/list result: one row per installed handler per event — a
ResolvedHookHandler carries one event, and grouping would lose
matcher/command identity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.hooks: Vec<HookCatalogEntry>The session’s installed hook rows.
Trait Implementations§
Source§impl Clone for HookListResult
impl Clone for HookListResult
Source§impl Debug for HookListResult
impl Debug for HookListResult
Source§impl<'de> Deserialize<'de> for HookListResult
impl<'de> Deserialize<'de> for HookListResult
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
impl Eq for HookListResult
Source§impl PartialEq for HookListResult
impl PartialEq for HookListResult
Source§impl Serialize for HookListResult
impl Serialize for HookListResult
impl StructuralPartialEq for HookListResult
Auto Trait Implementations§
impl Freeze for HookListResult
impl RefUnwindSafe for HookListResult
impl Send for HookListResult
impl Sync for HookListResult
impl Unpin for HookListResult
impl UnsafeUnpin for HookListResult
impl UnwindSafe for HookListResult
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