pub struct CommandHookConfig {
pub command: String,
pub shell: HookShell,
pub env: IndexMap<String, String>,
}Expand description
Command hook configuration.
Fields§
§command: String§shell: HookShell§env: IndexMap<String, String>Trait Implementations§
Source§impl Clone for CommandHookConfig
impl Clone for CommandHookConfig
Source§fn clone(&self) -> CommandHookConfig
fn clone(&self) -> CommandHookConfig
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 CommandHookConfig
impl Debug for CommandHookConfig
impl Eq for CommandHookConfig
Source§impl PartialEq for CommandHookConfig
impl PartialEq for CommandHookConfig
Source§fn eq(&self, other: &CommandHookConfig) -> bool
fn eq(&self, other: &CommandHookConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandHookConfig
Auto Trait Implementations§
impl Freeze for CommandHookConfig
impl RefUnwindSafe for CommandHookConfig
impl Send for CommandHookConfig
impl Sync for CommandHookConfig
impl Unpin for CommandHookConfig
impl UnsafeUnpin for CommandHookConfig
impl UnwindSafe for CommandHookConfig
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.