pub struct Job {
pub error_code: Option<i32>,
pub location: Option<String>,
pub name: Option<String>,
pub state: Option<String>,
}Expand description
Describes a job
This type is not used in any activity, and only used as part of another schema.
Fields§
§error_code: Option<i32>Optional. If the job did not complete successfully, this field describes why.
location: Option<String>Optional. Gives the location where the job ran, such as US or europe-west1
name: Option<String>The fully-qualified name for a job. e.g. projects//jobs/
state: Option<String>Output only. State of the job, such as RUNNING or PENDING.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Job
impl<'de> Deserialize<'de> for Job
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
impl Part 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