mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-30 08:49:26 +00:00
init bucketmeta struct
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user