pub struct ListEntry {
pub event: HookEvent,
pub handler: HookHandler,
pub managed: bool,
pub metadata: Option<RegistryMetadata>,
}Expand description
Entry returned by list() function
Fields§
§event: HookEventHook event
handler: HookHandlerHook handler configuration
managed: boolTrue if we installed this hook
metadata: Option<RegistryMetadata>Present if managed, contains registry metadata
Trait Implementations§
impl Eq for ListEntry
impl StructuralPartialEq for ListEntry
Auto Trait Implementations§
impl Freeze for ListEntry
impl RefUnwindSafe for ListEntry
impl Send for ListEntry
impl Sync for ListEntry
impl Unpin for ListEntry
impl UnwindSafe for ListEntry
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