pub struct BackupClusterRequest {
pub backup_id: Option<String>,
pub ttl: Option<Duration>,
}Expand description
Request for [BackupCluster].
§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).
- locations clusters backup projects (request)
Fields§
§backup_id: Option<String>Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
ttl: Option<Duration>Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
Trait Implementations§
Source§impl Clone for BackupClusterRequest
impl Clone for BackupClusterRequest
Source§fn clone(&self) -> BackupClusterRequest
fn clone(&self) -> BackupClusterRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackupClusterRequest
impl Debug for BackupClusterRequest
Source§impl Default for BackupClusterRequest
impl Default for BackupClusterRequest
Source§fn default() -> BackupClusterRequest
fn default() -> BackupClusterRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackupClusterRequest
impl<'de> Deserialize<'de> for BackupClusterRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BackupClusterRequest
impl Serialize for BackupClusterRequest
impl RequestValue for BackupClusterRequest
Auto Trait Implementations§
impl Freeze for BackupClusterRequest
impl RefUnwindSafe for BackupClusterRequest
impl Send for BackupClusterRequest
impl Sync for BackupClusterRequest
impl Unpin for BackupClusterRequest
impl UnwindSafe for BackupClusterRequest
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
Mutably borrows from an owned value. Read more