[][src]Struct gcp_client::google::datastore::admin::v1::CommonMetadata

pub struct CommonMetadata {
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub operation_type: i32,
    pub labels: HashMap<String, String>,
    pub state: i32,
}

Metadata common to all Datastore Admin operations.

Fields

start_time: Option<Timestamp>

The time that work began on the operation.

end_time: Option<Timestamp>

The time the operation ended, either successfully or otherwise.

operation_type: i32

The type of the operation. Can be used as a filter in ListOperationsRequest.

labels: HashMap<String, String>

The client-assigned labels which were provided when the operation was created. May also include additional labels.

state: i32

The current state of the Operation.

Implementations

impl CommonMetadata[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.

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

impl Debug for CommonMetadata[src]

impl Default for CommonMetadata[src]

impl Message for CommonMetadata[src]

impl PartialEq<CommonMetadata> for CommonMetadata[src]

impl StructuralPartialEq for CommonMetadata[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]