pub struct SubmitArgs {
pub data_dir: Option<PathBuf>,
pub task_id: String,
pub payload_path: Option<PathBuf>,
pub content_type: Option<String>,
pub run_policy: String,
pub constraints: Option<String>,
pub metadata: Option<String>,
pub json: bool,
}Expand description
Arguments for the submit command.
Fields§
§data_dir: Option<PathBuf>Optional data directory override.
task_id: StringTask identifier string (UUID format).
payload_path: Option<PathBuf>Optional path to payload bytes.
content_type: Option<String>Optional payload content type.
run_policy: StringRun policy string (once or repeat:N:SECONDS).
constraints: Option<String>Optional constraints JSON (inline or @path).
metadata: Option<String>Optional metadata JSON (inline or @path).
json: boolEmit JSON success payload on stdout when true.
Trait Implementations§
Source§impl Clone for SubmitArgs
impl Clone for SubmitArgs
Source§fn clone(&self) -> SubmitArgs
fn clone(&self) -> SubmitArgs
Returns a duplicate 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 Debug for SubmitArgs
impl Debug for SubmitArgs
Source§impl PartialEq for SubmitArgs
impl PartialEq for SubmitArgs
impl Eq for SubmitArgs
impl StructuralPartialEq for SubmitArgs
Auto Trait Implementations§
impl Freeze for SubmitArgs
impl RefUnwindSafe for SubmitArgs
impl Send for SubmitArgs
impl Sync for SubmitArgs
impl Unpin for SubmitArgs
impl UnsafeUnpin for SubmitArgs
impl UnwindSafe for SubmitArgs
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