pub struct ConfigureHook {
pub inheritable: bool,
pub env_var: Option<String>,
}Expand description
Configuration hook for registering callback handlers.
Fields§
§inheritable: boolWhether the hook is inheritable.
env_var: Option<String>The environment variable to check.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigureHook
impl Clone for ConfigureHook
Source§fn clone(&self) -> ConfigureHook
fn clone(&self) -> ConfigureHook
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for ConfigureHook
impl RefUnwindSafe for ConfigureHook
impl Send for ConfigureHook
impl Sync for ConfigureHook
impl Unpin for ConfigureHook
impl UnwindSafe for ConfigureHook
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