pub struct PublicAccessBlockConfig {
pub block_public_acls: bool,
pub ignore_public_acls: bool,
pub block_public_policy: bool,
pub restrict_public_buckets: bool,
}Expand description
Public access block configuration for a bucket.
AWS defines exactly four boolean fields for this configuration.
Fields§
§block_public_acls: boolWhether Amazon S3 should block public ACLs for this bucket.
ignore_public_acls: boolWhether Amazon S3 should ignore public ACLs for this bucket.
block_public_policy: boolWhether Amazon S3 should block public bucket policies.
restrict_public_buckets: boolWhether Amazon S3 should restrict public bucket policies.
Trait Implementations§
Source§impl Clone for PublicAccessBlockConfig
impl Clone for PublicAccessBlockConfig
Source§fn clone(&self) -> PublicAccessBlockConfig
fn clone(&self) -> PublicAccessBlockConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicAccessBlockConfig
impl Debug for PublicAccessBlockConfig
Source§impl<'de> Deserialize<'de> for PublicAccessBlockConfig
impl<'de> Deserialize<'de> for PublicAccessBlockConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PublicAccessBlockConfig
impl RefUnwindSafe for PublicAccessBlockConfig
impl Send for PublicAccessBlockConfig
impl Sync for PublicAccessBlockConfig
impl Unpin for PublicAccessBlockConfig
impl UnsafeUnpin for PublicAccessBlockConfig
impl UnwindSafe for PublicAccessBlockConfig
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