pub struct GetObjectLockConfigResponse {
pub headers: HeaderMap,
pub region: String,
pub bucket: String,
pub config: ObjectLockConfig,
}
Expand description
Response from the get_object_lock_config
API call,
which retrieves the Object Lock configuration of a bucket.
This configuration determines the default retention mode and period applied to new objects, helping to enforce write-once-read-many (WORM) protection.
Fields§
§headers: HeaderMap
HTTP headers returned by the server, containing metadata such as Content-Type
, ETag
, etc.
region: String
The AWS region where the bucket resides.
bucket: String
Name of the bucket for which the Object Lock configuration is retrieved.
config: ObjectLockConfig
The Object Lock configuration of the bucket, including retention settings and legal hold status.
Trait Implementations§
Source§impl Clone for GetObjectLockConfigResponse
impl Clone for GetObjectLockConfigResponse
Source§fn clone(&self) -> GetObjectLockConfigResponse
fn clone(&self) -> GetObjectLockConfigResponse
Returns a duplicate 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 GetObjectLockConfigResponse
impl Debug for GetObjectLockConfigResponse
Auto Trait Implementations§
impl Freeze for GetObjectLockConfigResponse
impl RefUnwindSafe for GetObjectLockConfigResponse
impl Send for GetObjectLockConfigResponse
impl Sync for GetObjectLockConfigResponse
impl Unpin for GetObjectLockConfigResponse
impl UnwindSafe for GetObjectLockConfigResponse
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