pub struct JobBatchRequest {
pub async_: Option<bool>,
pub concurrency: Option<i64>,
pub inputs: Vec<JobBatchRequestInputsItem>,
}Expand description
JobBatchRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"concurrency": {
"description": "Do this many commands concurrently. Defaults to
--transfers if not set.",
"type": "integer"
},
"inputs": {
"description": "List of inputs to the commands with an extra _path
parameter.",
"type": "array",
"items": {
"type": "object",
"required": [
"_path"
],
"properties": {
"_path": {
"description": "rc/path",
"type": "string"
}
},
"additionalProperties": true
}
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
concurrency: Option<i64>Do this many commands concurrently. Defaults to –transfers if not set.
inputs: Vec<JobBatchRequestInputsItem>List of inputs to the commands with an extra _path parameter.
Trait Implementations§
Source§impl Clone for JobBatchRequest
impl Clone for JobBatchRequest
Source§fn clone(&self) -> JobBatchRequest
fn clone(&self) -> JobBatchRequest
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 JobBatchRequest
impl Debug for JobBatchRequest
Source§impl Default for JobBatchRequest
impl Default for JobBatchRequest
Source§impl<'de> Deserialize<'de> for JobBatchRequest
impl<'de> Deserialize<'de> for JobBatchRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&JobBatchRequest> for JobBatchRequest
impl From<&JobBatchRequest> for JobBatchRequest
Source§fn from(value: &JobBatchRequest) -> Self
fn from(value: &JobBatchRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JobBatchRequest
impl RefUnwindSafe for JobBatchRequest
impl Send for JobBatchRequest
impl Sync for JobBatchRequest
impl Unpin for JobBatchRequest
impl UnwindSafe for JobBatchRequest
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