pub struct LifecycleView {
pub id: String,
pub enabled: bool,
pub prefix: String,
pub noncurrent_days: Option<u64>,
pub expired_delete_marker: bool,
}Expand description
One lifecycle rule, reduced to what VERSION RETENTION cares about (lean boundary-verbs plan D8).
Gated staging makes the CITED version noncurrent the moment a newer
generation stages, so a NoncurrentVersionExpiration rule covering
<prefix>/files/ runs a clock against live cited data — and never
against the newest uncited bytes, which are current and which no
lifecycle rule can reach. That inversion is why the rules have to be
READABLE and not merely writable: a customer sitting at
noncurrent-days=1 arms the destroyer without touching flint at all.
Fields§
§id: String§enabled: bool§prefix: StringThe rule’s prefix filter; "" = the whole bucket.
noncurrent_days: Option<u64>NoncurrentVersionExpiration.NoncurrentDays, when the rule has
one. None = this rule expires no noncurrent versions.
expired_delete_marker: boolWhether the rule also expires orphaned delete markers.
Trait Implementations§
Source§impl Clone for LifecycleView
impl Clone for LifecycleView
Source§fn clone(&self) -> LifecycleView
fn clone(&self) -> LifecycleView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more