Struct google_storage1::api::BucketAutoclass
source · pub struct BucketAutoclass {
pub enabled: Option<bool>,
pub terminal_storage_class: Option<String>,
pub terminal_storage_class_update_time: Option<DateTime<Utc>>,
pub toggle_time: Option<DateTime<Utc>>,
}
Expand description
The bucket’s Autoclass configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enabled: Option<bool>
Whether or not Autoclass is enabled on this bucket
terminal_storage_class: Option<String>
The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Valid values are NEARLINE and ARCHIVE.
terminal_storage_class_update_time: Option<DateTime<Utc>>
A date and time in RFC 3339 format representing the time of the most recent update to “terminalStorageClass”.
toggle_time: Option<DateTime<Utc>>
A date and time in RFC 3339 format representing the instant at which “enabled” was last toggled.
Trait Implementations§
source§impl Clone for BucketAutoclass
impl Clone for BucketAutoclass
source§fn clone(&self) -> BucketAutoclass
fn clone(&self) -> BucketAutoclass
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 Debug for BucketAutoclass
impl Debug for BucketAutoclass
source§impl Default for BucketAutoclass
impl Default for BucketAutoclass
source§fn default() -> BucketAutoclass
fn default() -> BucketAutoclass
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BucketAutoclass
impl<'de> Deserialize<'de> for BucketAutoclass
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 Serialize for BucketAutoclass
impl Serialize for BucketAutoclass
impl NestedType for BucketAutoclass
impl Part for BucketAutoclass
Auto Trait Implementations§
impl RefUnwindSafe for BucketAutoclass
impl Send for BucketAutoclass
impl Sync for BucketAutoclass
impl Unpin for BucketAutoclass
impl UnwindSafe for BucketAutoclass
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