Struct google_storage1::BucketLifecycleRuleAction [−][src]
pub struct BucketLifecycleRuleAction { pub type_: Option<String>, pub storage_class: Option<String>, }
The action to take.
This type is not used in any activity, and only used as part of another schema.
Fields
type_: Option<String>
Type of the action. Currently, only Delete and SetStorageClass are supported.
storage_class: Option<String>
Target storage class. Required iff the type of the action is SetStorageClass.
Trait Implementations
impl Default for BucketLifecycleRuleAction
[src]
impl Default for BucketLifecycleRuleAction
fn default() -> BucketLifecycleRuleAction
[src]
fn default() -> BucketLifecycleRuleAction
Returns the "default value" for a type. Read more
impl Clone for BucketLifecycleRuleAction
[src]
impl Clone for BucketLifecycleRuleAction
fn clone(&self) -> BucketLifecycleRuleAction
[src]
fn clone(&self) -> BucketLifecycleRuleAction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for BucketLifecycleRuleAction
[src]
impl Debug for BucketLifecycleRuleAction
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl NestedType for BucketLifecycleRuleAction
[src]
impl NestedType for BucketLifecycleRuleAction
impl Part for BucketLifecycleRuleAction
[src]
impl Part for BucketLifecycleRuleAction
Auto Trait Implementations
impl Send for BucketLifecycleRuleAction
impl Send for BucketLifecycleRuleAction
impl Sync for BucketLifecycleRuleAction
impl Sync for BucketLifecycleRuleAction