pub struct BackupRun {Show 15 fields
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 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).
- delete backup runs (none)
- get backup runs (response)
- insert backup runs (request)
- list backup runs (none)
Fields§
§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. Applies only to Second Generation instances.
disk_encryption_status: Option<DiskEncryptionStatus>
Encryption status specific to a backup. Applies only to Second Generation instances.
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.
type_: Option<String>
The type of this run; can be either “AUTOMATED” or “ON_DEMAND”.
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<'de> Deserialize<'de> for BackupRun
impl<'de> Deserialize<'de> for BackupRun
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for BackupRun
impl Resource for BackupRun
impl ResponseResult for BackupRun
Auto Trait Implementations§
impl Freeze for BackupRun
impl RefUnwindSafe for BackupRun
impl Send for BackupRun
impl Sync for BackupRun
impl Unpin for BackupRun
impl UnwindSafe for BackupRun
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more