pub struct HookInputFixture {
pub tool_name: String,
pub command: String,
pub description: Option<String>,
pub session_id: Option<String>,
}Expand description
Sample hook input for testing
Fields§
§tool_name: String§command: String§description: Option<String>§session_id: Option<String>Implementations§
Source§impl HookInputFixture
impl HookInputFixture
Sourcepub fn cargo_build() -> Self
pub fn cargo_build() -> Self
Create a cargo build hook input
Sourcepub fn cargo_test() -> Self
pub fn cargo_test() -> Self
Create a cargo test hook input
Trait Implementations§
Source§impl Clone for HookInputFixture
impl Clone for HookInputFixture
Auto Trait Implementations§
impl Freeze for HookInputFixture
impl RefUnwindSafe for HookInputFixture
impl Send for HookInputFixture
impl Sync for HookInputFixture
impl Unpin for HookInputFixture
impl UnsafeUnpin for HookInputFixture
impl UnwindSafe for HookInputFixture
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