pub fn is_bucket_already_owned_by_you(&self) -> bool {
        matches!(
            &self.kind,
            CreateBucketErrorKind::BucketAlreadyOwnedByYou(_)
        )
    }
/// Returns `true` if the error kind is `CreateBucketErrorKind::BucketAlreadyOwnedByYou`.
Returns `true` if the error kind is `CreateBucketErrorKind::BucketAlreadyOwnedByYou`.
Returns ` true ` if the error kind is ` CreateBucketErrorKind :: BucketAlreadyOwnedByYou ` .
pub fn is_bucket_already_owned_by_you(&self) -> bool {
        matches!(
            &self.kind,
            CreateBucketErrorKind::BucketAlreadyOwnedByYou(_)
        )
    }
pub fn is_bucket_already_owned_by_you ( & self ) -> bool { matches ! ( self kind CreateBucketErrorKind BucketAlreadyOwnedByYou ( ) ) }
Returns `true` if the error kind is `CreateBucketErrorKind::BucketAlreadyOwnedByYou`.
Returns ` true ` if the error kind is ` CreateBucketErrorKind :: BucketAlreadyOwnedByYou ` .
&self
&self