Struct scaleway_api_rs::models::scaleway_rdb_v1_instance_backup_schedule::ScalewayRdbV1InstanceBackupSchedule
source · pub struct ScalewayRdbV1InstanceBackupSchedule {
pub frequency: Option<i32>,
pub retention: Option<i32>,
pub disabled: Option<bool>,
}
Expand description
ScalewayRdbV1InstanceBackupSchedule : Backup schedule of the instance
Fields§
§frequency: Option<i32>
§retention: Option<i32>
§disabled: Option<bool>
Implementations§
source§impl ScalewayRdbV1InstanceBackupSchedule
impl ScalewayRdbV1InstanceBackupSchedule
sourcepub fn new() -> ScalewayRdbV1InstanceBackupSchedule
pub fn new() -> ScalewayRdbV1InstanceBackupSchedule
Backup schedule of the instance
Trait Implementations§
source§impl Clone for ScalewayRdbV1InstanceBackupSchedule
impl Clone for ScalewayRdbV1InstanceBackupSchedule
source§fn clone(&self) -> ScalewayRdbV1InstanceBackupSchedule
fn clone(&self) -> ScalewayRdbV1InstanceBackupSchedule
Returns a copy 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 Default for ScalewayRdbV1InstanceBackupSchedule
impl Default for ScalewayRdbV1InstanceBackupSchedule
source§fn default() -> ScalewayRdbV1InstanceBackupSchedule
fn default() -> ScalewayRdbV1InstanceBackupSchedule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScalewayRdbV1InstanceBackupSchedule
impl<'de> Deserialize<'de> for ScalewayRdbV1InstanceBackupSchedule
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 PartialEq<ScalewayRdbV1InstanceBackupSchedule> for ScalewayRdbV1InstanceBackupSchedule
impl PartialEq<ScalewayRdbV1InstanceBackupSchedule> for ScalewayRdbV1InstanceBackupSchedule
source§fn eq(&self, other: &ScalewayRdbV1InstanceBackupSchedule) -> bool
fn eq(&self, other: &ScalewayRdbV1InstanceBackupSchedule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.