#[non_exhaustive]pub struct Job {
pub name: String,
pub state: JobState,
pub error_code: i32,
pub location: String,
/* private fields */
}Expand description
Describes 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.name: StringThe fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
state: JobStateOutput only. State of the job, such as RUNNING or PENDING.
error_code: i32Optional. If the job did not complete successfully, this field describes why.
location: StringOptional. Gives the location where the job ran, such as US or
europe-west1
Implementations§
Trait Implementations§
impl StructuralPartialEq for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
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