mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-17 18:27:49 +00:00
16 lines
292 B
Rust
16 lines
292 B
Rust
use time::OffsetDateTime;
|
|
|
|
pub type TransitionDays = usize;
|
|
|
|
#[derive(Debug)]
|
|
pub struct TransitionDate(OffsetDateTime);
|
|
|
|
#[derive(Debug)]
|
|
pub struct Transition {
|
|
pub days: Option<TransitionDays>,
|
|
pub date: Option<TransitionDate>,
|
|
pub storage_class: String,
|
|
|
|
pub set: bool,
|
|
}
|