pub struct S3PublicAccessBlockConfiguration {
pub ignore_public_acls: bool,
pub restrict_public_buckets: bool,
}
Expand description
The PublicAccessBlock
configuration to apply to this Amazon S3 bucket. If the proposed configuration is for an existing Amazon S3 bucket and the configuration is not specified, the access preview uses the existing setting. If the proposed configuration is for a new bucket and the configuration is not specified, the access preview uses false
. If the proposed configuration is for a new access point and the access point BPA configuration is not specified, the access preview uses true
. For more information, see PublicAccessBlockConfiguration.
Fields
ignore_public_acls: bool
Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.
restrict_public_buckets: bool
Specifies whether Amazon S3 should restrict public bucket policies for this bucket.
Trait Implementations
sourceimpl Clone for S3PublicAccessBlockConfiguration
impl Clone for S3PublicAccessBlockConfiguration
sourcefn clone(&self) -> S3PublicAccessBlockConfiguration
fn clone(&self) -> S3PublicAccessBlockConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for S3PublicAccessBlockConfiguration
impl Default for S3PublicAccessBlockConfiguration
sourcefn default() -> S3PublicAccessBlockConfiguration
fn default() -> S3PublicAccessBlockConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for S3PublicAccessBlockConfiguration
impl<'de> Deserialize<'de> for S3PublicAccessBlockConfiguration
sourcefn 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
sourceimpl PartialEq<S3PublicAccessBlockConfiguration> for S3PublicAccessBlockConfiguration
impl PartialEq<S3PublicAccessBlockConfiguration> for S3PublicAccessBlockConfiguration
sourcefn eq(&self, other: &S3PublicAccessBlockConfiguration) -> bool
fn eq(&self, other: &S3PublicAccessBlockConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3PublicAccessBlockConfiguration) -> bool
fn ne(&self, other: &S3PublicAccessBlockConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for S3PublicAccessBlockConfiguration
Auto Trait Implementations
impl RefUnwindSafe for S3PublicAccessBlockConfiguration
impl Send for S3PublicAccessBlockConfiguration
impl Sync for S3PublicAccessBlockConfiguration
impl Unpin for S3PublicAccessBlockConfiguration
impl UnwindSafe for S3PublicAccessBlockConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more