pub struct OciHook {
pub path: String,
pub args: Vec<String>,
pub env: Vec<String>,
pub timeout_secs: u32,
}Expand description
Lifecycle hook specification.
Fields§
§path: StringPath to the hook executable.
args: Vec<String>Arguments passed to the hook.
env: Vec<String>Environment variables for the hook.
timeout_secs: u32Timeout in seconds (0 = no timeout).
Trait Implementations§
impl Eq for OciHook
impl StructuralPartialEq for OciHook
Auto Trait Implementations§
impl Freeze for OciHook
impl RefUnwindSafe for OciHook
impl Send for OciHook
impl Sync for OciHook
impl Unpin for OciHook
impl UnwindSafe for OciHook
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)