pub struct ExternalHookRequest {
pub event: HookEvent,
pub name: String,
pub timeout: Duration,
}Expand description
Request passed to an external runner.
Fields§
§event: HookEventEvent payload (also JSON-serializable for stdin).
name: StringOptional handler name for logging.
timeout: DurationTimeout for this invocation.
Trait Implementations§
Source§impl Clone for ExternalHookRequest
impl Clone for ExternalHookRequest
Source§fn clone(&self) -> ExternalHookRequest
fn clone(&self) -> ExternalHookRequest
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 moreAuto Trait Implementations§
impl Freeze for ExternalHookRequest
impl RefUnwindSafe for ExternalHookRequest
impl Send for ExternalHookRequest
impl Sync for ExternalHookRequest
impl Unpin for ExternalHookRequest
impl UnsafeUnpin for ExternalHookRequest
impl UnwindSafe for ExternalHookRequest
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