pub struct NotifySetOpts<'a> {
pub job_id: &'a str,
pub root: Option<&'a str>,
pub command: Option<String>,
pub output_pattern: Option<String>,
pub output_match_type: Option<String>,
pub output_stream: Option<String>,
pub output_command: Option<String>,
pub output_file: Option<String>,
}Expand description
Options for notify set.
Fields§
§job_id: &'a strJob identifier.
root: Option<&'a str>Override for jobs root directory.
command: Option<String>Shell command string to store as notify_command (completion notification).
output_pattern: Option<String>Pattern to match against output lines.
output_match_type: Option<String>Match type: “contains” or “regex”.
output_stream: Option<String>Stream selector: “stdout”, “stderr”, or “either”.
output_command: Option<String>Shell command string for output-match command sink.
output_file: Option<String>File path for output-match NDJSON file sink.
Auto Trait Implementations§
impl<'a> Freeze for NotifySetOpts<'a>
impl<'a> RefUnwindSafe for NotifySetOpts<'a>
impl<'a> Send for NotifySetOpts<'a>
impl<'a> Sync for NotifySetOpts<'a>
impl<'a> Unpin for NotifySetOpts<'a>
impl<'a> UnsafeUnpin for NotifySetOpts<'a>
impl<'a> UnwindSafe for NotifySetOpts<'a>
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