pub struct AwsS3StoreConfig {
pub bucket: String,
pub region: String,
pub endpoint_url: Option<String>,
pub access_key_id: SecretString,
pub secret_access_key: SecretString,
pub session_token: Option<SecretString>,
pub key_prefix: Option<String>,
pub force_path_style: bool,
}Expand description
Supplies explicit credentials, addressing, and key scoping for AWS S3.
Fields§
§bucket: StringBucket that acts as the LoonFS object-store root.
region: StringSigning region passed to the S3 client and presigner.
endpoint_url: Option<String>S3-compatible endpoint override, or None for the regional AWS endpoint.
access_key_id: SecretStringAccess-key id used for SigV4 request signing.
secret_access_key: SecretStringSecret access key used for SigV4 request signing.
session_token: Option<SecretString>Temporary credential token, or None for long-lived credentials.
key_prefix: Option<String>Logical prefix prepended to every key, or None to use the bucket root.
force_path_style: boolSelects path-style bucket addressing for compatible endpoints that require it.
Trait Implementations§
Source§impl Clone for AwsS3StoreConfig
impl Clone for AwsS3StoreConfig
Source§fn clone(&self) -> AwsS3StoreConfig
fn clone(&self) -> AwsS3StoreConfig
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 AwsS3StoreConfig
impl Debug for AwsS3StoreConfig
impl Eq for AwsS3StoreConfig
Source§impl PartialEq for AwsS3StoreConfig
impl PartialEq for AwsS3StoreConfig
impl StructuralPartialEq for AwsS3StoreConfig
Auto Trait Implementations§
impl Freeze for AwsS3StoreConfig
impl RefUnwindSafe for AwsS3StoreConfig
impl Send for AwsS3StoreConfig
impl Sync for AwsS3StoreConfig
impl Unpin for AwsS3StoreConfig
impl UnsafeUnpin for AwsS3StoreConfig
impl UnwindSafe for AwsS3StoreConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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>
Converts
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>
Converts
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