Struct rusoto_s3::ObjectLockConfiguration [−][src]
pub struct ObjectLockConfiguration {
pub object_lock_enabled: Option<String>,
pub rule: Option<ObjectLockRule>,
}Expand description
The container element for Object Lock configuration parameters.
Fields
object_lock_enabled: Option<String>Indicates whether this bucket has an Object Lock configuration enabled. Enable ObjectLockEnabled when you apply ObjectLockConfiguration to a bucket.
rule: Option<ObjectLockRule>Specifies the Object Lock rule for the specified object. Enable the this rule when you apply ObjectLockConfiguration to a bucket. Bucket settings require both a mode and a period. The period can be either Days or Years but you must select one. You cannot specify Days and Years at the same time.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ObjectLockConfiguration
impl Send for ObjectLockConfiguration
impl Sync for ObjectLockConfiguration
impl Unpin for ObjectLockConfiguration
impl UnwindSafe for ObjectLockConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more