pub struct JobStopRequest {
pub async_: Option<bool>,
pub jobid: Option<f64>,
}Expand description
JobStopRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"jobid": {
"description": "Numeric identifier of the job to cancel.",
"type": "number"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
jobid: Option<f64>Trait Implementations§
Source§impl Clone for JobStopRequest
impl Clone for JobStopRequest
Source§fn clone(&self) -> JobStopRequest
fn clone(&self) -> JobStopRequest
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 moreSource§impl Debug for JobStopRequest
impl Debug for JobStopRequest
Source§impl Default for JobStopRequest
impl Default for JobStopRequest
Source§impl<'de> Deserialize<'de> for JobStopRequest
impl<'de> Deserialize<'de> for JobStopRequest
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<&JobStopRequest> for JobStopRequest
impl From<&JobStopRequest> for JobStopRequest
Source§fn from(value: &JobStopRequest) -> Self
fn from(value: &JobStopRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JobStopRequest
impl RefUnwindSafe for JobStopRequest
impl Send for JobStopRequest
impl Sync for JobStopRequest
impl Unpin for JobStopRequest
impl UnsafeUnpin for JobStopRequest
impl UnwindSafe for JobStopRequest
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