#[non_exhaustive]pub struct DeleteJobRequest {
pub project_id: String,
pub region: String,
pub job_id: String,
/* private fields */
}Expand description
A request to delete a job.
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.project_id: StringRequired. The ID of the Google Cloud Platform project that the job belongs to.
region: StringRequired. The Dataproc region in which to handle the request.
job_id: StringRequired. The job ID.
Implementations§
Source§impl DeleteJobRequest
impl DeleteJobRequest
pub fn new() -> Self
Sourcepub fn set_project_id<T: Into<String>>(self, v: T) -> Self
pub fn set_project_id<T: Into<String>>(self, v: T) -> Self
Sets the value of project_id.
Sourcepub fn set_region<T: Into<String>>(self, v: T) -> Self
pub fn set_region<T: Into<String>>(self, v: T) -> Self
Sets the value of region.
Sourcepub fn set_job_id<T: Into<String>>(self, v: T) -> Self
pub fn set_job_id<T: Into<String>>(self, v: T) -> Self
Sets the value of job_id.
Trait Implementations§
Source§impl Clone for DeleteJobRequest
impl Clone for DeleteJobRequest
Source§fn clone(&self) -> DeleteJobRequest
fn clone(&self) -> DeleteJobRequest
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 DeleteJobRequest
impl Debug for DeleteJobRequest
Source§impl Default for DeleteJobRequest
impl Default for DeleteJobRequest
Source§fn default() -> DeleteJobRequest
fn default() -> DeleteJobRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteJobRequest
impl Message for DeleteJobRequest
Source§impl PartialEq for DeleteJobRequest
impl PartialEq for DeleteJobRequest
impl StructuralPartialEq for DeleteJobRequest
Auto Trait Implementations§
impl Freeze for DeleteJobRequest
impl RefUnwindSafe for DeleteJobRequest
impl Send for DeleteJobRequest
impl Sync for DeleteJobRequest
impl Unpin for DeleteJobRequest
impl UnwindSafe for DeleteJobRequest
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