Struct gapi_grpc::google::cloud::metastore::v1alpha::Backup[][src]

pub struct Backup {
    pub name: String,
    pub create_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub state: i32,
    pub service_revision: Option<Service>,
    pub description: String,
}

The details of a backup resource.

Fields

name: String

Immutable. The relative resource name of the backup, in the following form:

projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}

create_time: Option<Timestamp>

Output only. The time when the backup was started.

end_time: Option<Timestamp>

Output only. The time when the backup finished creating.

state: i32

Output only. The current state of the backup.

service_revision: Option<Service>

Output only. The revision of the service at the time of backup.

description: String

The description of the backup.

Implementations

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

impl Debug for Backup[src]

impl Default for Backup[src]

impl Message for Backup[src]

impl PartialEq<Backup> for Backup[src]

impl StructuralPartialEq for Backup[src]

Auto Trait Implementations

impl RefUnwindSafe for Backup

impl Send for Backup

impl Sync for Backup

impl Unpin for Backup

impl UnwindSafe for Backup

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]