Struct gapi_grpc::google::cloud::bigquery::migration::v2alpha::MigrationTask[][src]

pub struct MigrationTask {
    pub id: String,
    pub type: String,
    pub details: Option<Any>,
    pub state: i32,
    pub processing_error: Option<ErrorInfo>,
    pub create_time: Option<Timestamp>,
    pub last_update_time: Option<Timestamp>,
}

A single task for a migration which has details about the configuration of the task.

Fields

id: String

Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.

type: String

The type of the task. This must be a supported task type.

details: Option<Any>

The details of the task. The type URL must be one of the supported task details messages and correspond to the Task’s type.

state: i32

Output only. The current state of the task.

processing_error: Option<ErrorInfo>

Output only. An explanation that may be populated when the task is in FAILED state.

create_time: Option<Timestamp>

Time when the task was created.

last_update_time: Option<Timestamp>

Time when the task was last updated.

Implementations

impl MigrationTask[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 MigrationTask[src]

impl Debug for MigrationTask[src]

impl Default for MigrationTask[src]

impl Message for MigrationTask[src]

impl PartialEq<MigrationTask> for MigrationTask[src]

impl StructuralPartialEq for MigrationTask[src]

Auto Trait Implementations

impl RefUnwindSafe for MigrationTask

impl Send for MigrationTask

impl Sync for MigrationTask

impl Unpin for MigrationTask

impl UnwindSafe for MigrationTask

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]