pub struct HookBuilder { /* private fields */ }
Expand description
Builder for Hook
.
Implementations§
Source§impl HookBuilder
impl HookBuilder
pub fn path<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn args<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn env<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn timeout<VALUE: Into<Option<i32>>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for HookBuilder
impl Clone for HookBuilder
Source§fn clone(&self) -> HookBuilder
fn clone(&self) -> HookBuilder
Returns a copy 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 moreSource§impl Default for HookBuilder
impl Default for HookBuilder
Source§fn default() -> HookBuilder
fn default() -> HookBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HookBuilder
impl RefUnwindSafe for HookBuilder
impl Send for HookBuilder
impl Sync for HookBuilder
impl Unpin for HookBuilder
impl UnwindSafe for HookBuilder
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