pub struct AirflowMetadataRetentionPolicyConfig {
pub retention_days: Option<i32>,
pub retention_mode: Option<String>,
}
Expand description
The policy for airflow metadata database retention.
This type is not used in any activity, and only used as part of another schema.
Fields§
§retention_days: Option<i32>
Optional. How many days data should be retained for.
retention_mode: Option<String>
Optional. Retention can be either enabled or disabled.
Trait Implementations§
source§impl Clone for AirflowMetadataRetentionPolicyConfig
impl Clone for AirflowMetadataRetentionPolicyConfig
source§fn clone(&self) -> AirflowMetadataRetentionPolicyConfig
fn clone(&self) -> AirflowMetadataRetentionPolicyConfig
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 AirflowMetadataRetentionPolicyConfig
impl Default for AirflowMetadataRetentionPolicyConfig
source§fn default() -> AirflowMetadataRetentionPolicyConfig
fn default() -> AirflowMetadataRetentionPolicyConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AirflowMetadataRetentionPolicyConfig
impl<'de> Deserialize<'de> for AirflowMetadataRetentionPolicyConfig
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
impl Part for AirflowMetadataRetentionPolicyConfig
Auto Trait Implementations§
impl RefUnwindSafe for AirflowMetadataRetentionPolicyConfig
impl Send for AirflowMetadataRetentionPolicyConfig
impl Sync for AirflowMetadataRetentionPolicyConfig
impl Unpin for AirflowMetadataRetentionPolicyConfig
impl UnwindSafe for AirflowMetadataRetentionPolicyConfig
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