Struct rusoto_s3::GetBucketPolicyRequest [−][src]
pub struct GetBucketPolicyRequest {
pub bucket: String,
pub expected_bucket_owner: Option<String>,
}Fields
bucket: StringThe bucket name for which to get the bucket policy.
expected_bucket_owner: Option<String>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
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 GetBucketPolicyRequest
impl Send for GetBucketPolicyRequest
impl Sync for GetBucketPolicyRequest
impl Unpin for GetBucketPolicyRequest
impl UnwindSafe for GetBucketPolicyRequest
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