pub struct BackupRun {
Show 17 fields pub backup_kind: Option<String>, pub description: Option<String>, pub disk_encryption_configuration: Option<DiskEncryptionConfiguration>, pub disk_encryption_status: Option<DiskEncryptionStatus>, pub end_time: Option<DateTime<Utc>>, pub enqueued_time: Option<DateTime<Utc>>, pub error: Option<OperationError>, pub id: Option<i64>, pub instance: Option<String>, pub kind: Option<String>, pub location: Option<String>, pub self_link: Option<String>, pub start_time: Option<DateTime<Utc>>, pub status: Option<String>, pub time_zone: Option<String>, pub type_: Option<String>, pub window_start_time: Option<DateTime<Utc>>,
}
Expand description

A BackupRun resource.

§Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields§

§backup_kind: Option<String>

Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.

§description: Option<String>

The description of this run, only applicable to on-demand backups.

§disk_encryption_configuration: Option<DiskEncryptionConfiguration>

Encryption configuration specific to a backup.

§disk_encryption_status: Option<DiskEncryptionStatus>

Encryption status specific to a backup.

§end_time: Option<DateTime<Utc>>

The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

§enqueued_time: Option<DateTime<Utc>>

The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

§error: Option<OperationError>

Information about why the backup operation failed. This is only present if the run has the FAILED status.

§id: Option<i64>

The identifier for this backup run. Unique only for a specific Cloud SQL instance.

§instance: Option<String>

Name of the database instance.

§kind: Option<String>

This is always sql#backupRun.

§location: Option<String>

Location of the backups.

§self_link: Option<String>

The URI of this resource.

§start_time: Option<DateTime<Utc>>

The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

§status: Option<String>

The status of this run.

§time_zone: Option<String>

Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.

§type_: Option<String>

The type of this run; can be either “AUTOMATED” or “ON_DEMAND” or “FINAL”. This field defaults to “ON_DEMAND” and is ignored, when specified for insert requests.

§window_start_time: Option<DateTime<Utc>>

The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Trait Implementations§

source§

impl Clone for BackupRun

source§

fn clone(&self) -> BackupRun

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BackupRun

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BackupRun

source§

fn default() -> BackupRun

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BackupRun

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for BackupRun

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for BackupRun

source§

impl Resource for BackupRun

source§

impl ResponseResult for BackupRun

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,