pub struct S3Settings {
pub endpoint: Option<String>,
pub region: String,
pub bucket: String,
pub access_key_id: String,
pub secret_access_key: String,
pub path_style: bool,
}Expand description
endpoint defaults to AWS’s for the region; another S3-compatible service names its own,
usually with path_style. On AWS the credentials need s3:ListBucket besides the object
permissions: without it a missing file answers 403, read as a failure rather than as absent.
Fields§
§endpoint: Option<String>§region: String§bucket: String§access_key_id: String§secret_access_key: String§path_style: boolImplementations§
Auto Trait Implementations§
impl Forget for S3Settings
impl Freeze for S3Settings
impl RefUnwindSafe for S3Settings
impl Send for S3Settings
impl Sync for S3Settings
impl Unpin for S3Settings
impl UnsafeUnpin for S3Settings
impl UnwindSafe for S3Settings
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