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

pub struct OperationMetadata {
    pub create_time: Option<Timestamp>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub is_cancellation_requested: bool,
    pub operation_type: i32,
    pub model_name: String,
    pub version: Option<Version>,
}

Represents the metadata of the long-running operation.

Fields

create_time: Option<Timestamp>

The time the operation was submitted.

start_time: Option<Timestamp>

The time operation processing started.

end_time: Option<Timestamp>

The time operation processing completed.

is_cancellation_requested: bool

Indicates whether a request to cancel this operation has been made.

operation_type: i32

The operation type.

model_name: String

Contains the name of the model associated with the operation.

version: Option<Version>

Contains the version associated with the operation.

Implementations

impl OperationMetadata[src]

pub fn operation_type(&self) -> OperationType[src]

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

pub fn set_operation_type(&mut self, value: OperationType)[src]

Sets operation_type to the provided enum value.

Trait Implementations

impl Clone for OperationMetadata[src]

impl Debug for OperationMetadata[src]

impl Default for OperationMetadata[src]

impl Message for OperationMetadata[src]

impl PartialEq<OperationMetadata> for OperationMetadata[src]

impl StructuralPartialEq for OperationMetadata[src]

Auto Trait Implementations

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]