pub struct JobCancelResponse {
pub job: Option<Job>,
pub kind: Option<String>,
}Expand description
Describes format of a jobs cancellation response.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- cancel jobs (response)
Fields§
§job: Option<Job>The final state of the job.
kind: Option<String>The resource type of the response.
Trait Implementations§
Source§impl Clone for JobCancelResponse
impl Clone for JobCancelResponse
Source§fn clone(&self) -> JobCancelResponse
fn clone(&self) -> JobCancelResponse
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 JobCancelResponse
impl Debug for JobCancelResponse
Source§impl Default for JobCancelResponse
impl Default for JobCancelResponse
Source§fn default() -> JobCancelResponse
fn default() -> JobCancelResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobCancelResponse
impl<'de> Deserialize<'de> for JobCancelResponse
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 Serialize for JobCancelResponse
impl Serialize for JobCancelResponse
impl ResponseResult for JobCancelResponse
Auto Trait Implementations§
impl Freeze for JobCancelResponse
impl RefUnwindSafe for JobCancelResponse
impl Send for JobCancelResponse
impl Sync for JobCancelResponse
impl Unpin for JobCancelResponse
impl UnwindSafe for JobCancelResponse
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