Skip to main content

GetBucketVersioningOps

Trait GetBucketVersioningOps 

Source
pub trait GetBucketVersioningOps {
    // Required method
    fn get_bucket_versioning(
        &self,
    ) -> impl Future<Output = Result<VersioningConfiguration>>;
}

Required Methods§

Source

fn get_bucket_versioning( &self, ) -> impl Future<Output = Result<VersioningConfiguration>>

Query the versioning state of the bucket.

Returns a VersioningConfiguration with status: None if versioning has never been enabled.

Official document: https://www.alibabacloud.com/help/en/oss/developer-reference/getbucketversioning

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§