[][src]Struct gcp_client::google::cloud::ml::v1::Job

pub struct Job {
    pub job_id: String,
    pub create_time: Option<Timestamp>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub state: i32,
    pub error_message: String,
    pub input: Option<Input>,
    pub output: Option<Output>,
}

Represents a training or prediction job.

Fields

job_id: String

Required. The user-specified id of the job.

create_time: Option<Timestamp>

Output only. When the job was created.

start_time: Option<Timestamp>

Output only. When the job processing was started.

end_time: Option<Timestamp>

Output only. When the job processing was completed.

state: i32

Output only. The detailed state of a job.

error_message: String

Output only. The details of a failure or a cancellation.

input: Option<Input>

Required. Parameters to create a job.

output: Option<Output>

Output only. The current result of the job.

Implementations

impl Job[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Job[src]

impl Debug for Job[src]

impl Default for Job[src]

impl Message for Job[src]

impl PartialEq<Job> for Job[src]

impl StructuralPartialEq for Job[src]

Auto Trait Implementations

impl RefUnwindSafe for Job

impl Send for Job

impl Sync for Job

impl Unpin for Job

impl UnwindSafe for Job

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]