Struct aws_sdk_transfer::types::S3StorageOptions
source · #[non_exhaustive]pub struct S3StorageOptions {
pub directory_listing_optimization: Option<DirectoryListingOptimization>,
}Expand description
The Amazon S3 storage options that are configured for your server.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.directory_listing_optimization: Option<DirectoryListingOptimization>Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.
By default, home directory mappings have a TYPE of DIRECTORY. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry Type to FILE if you want a mapping to have a file target.
Implementations§
source§impl S3StorageOptions
impl S3StorageOptions
sourcepub fn directory_listing_optimization(
&self,
) -> Option<&DirectoryListingOptimization>
pub fn directory_listing_optimization( &self, ) -> Option<&DirectoryListingOptimization>
Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.
By default, home directory mappings have a TYPE of DIRECTORY. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry Type to FILE if you want a mapping to have a file target.
source§impl S3StorageOptions
impl S3StorageOptions
sourcepub fn builder() -> S3StorageOptionsBuilder
pub fn builder() -> S3StorageOptionsBuilder
Creates a new builder-style object to manufacture S3StorageOptions.
Trait Implementations§
source§impl Clone for S3StorageOptions
impl Clone for S3StorageOptions
source§fn clone(&self) -> S3StorageOptions
fn clone(&self) -> S3StorageOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3StorageOptions
impl Debug for S3StorageOptions
source§impl PartialEq for S3StorageOptions
impl PartialEq for S3StorageOptions
source§fn eq(&self, other: &S3StorageOptions) -> bool
fn eq(&self, other: &S3StorageOptions) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for S3StorageOptions
Auto Trait Implementations§
impl Freeze for S3StorageOptions
impl RefUnwindSafe for S3StorageOptions
impl Send for S3StorageOptions
impl Sync for S3StorageOptions
impl Unpin for S3StorageOptions
impl UnwindSafe for S3StorageOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more