#[non_exhaustive]pub struct CancelJobRequest {
pub name: String,
pub request_id: String,
/* private fields */
}Expand description
Message for Job to Cancel
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the job to cancel.
Format: projects/{project_id}/locations/global/jobs/{job_id}.
request_id: StringOptional. An optional request ID to identify requests. Specify a unique
request ID in case you need to retry your request. Requests with same
request_id will be ignored for at least 60 minutes since the first
request. The request ID must be a valid UUID with the exception that zero
UUID is not supported (00000000-0000-0000-0000-000000000000).
Implementations§
Trait Implementations§
Source§impl Clone for CancelJobRequest
impl Clone for CancelJobRequest
Source§fn clone(&self) -> CancelJobRequest
fn clone(&self) -> CancelJobRequest
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 CancelJobRequest
impl Debug for CancelJobRequest
Source§impl Default for CancelJobRequest
impl Default for CancelJobRequest
Source§fn default() -> CancelJobRequest
fn default() -> CancelJobRequest
Returns the “default value” for a type. Read more
Source§impl Message for CancelJobRequest
impl Message for CancelJobRequest
Source§impl PartialEq for CancelJobRequest
impl PartialEq for CancelJobRequest
impl StructuralPartialEq for CancelJobRequest
Auto Trait Implementations§
impl Freeze for CancelJobRequest
impl RefUnwindSafe for CancelJobRequest
impl Send for CancelJobRequest
impl Sync for CancelJobRequest
impl Unpin for CancelJobRequest
impl UnwindSafe for CancelJobRequest
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