pub struct S3Config {
pub bucket: String,
pub region: String,
pub access_key: String,
pub secret_key: String,
pub endpoint: Option<String>,
pub path_style: bool,
pub public_url: Option<String>,
}Fields§
§bucket: String§region: String§access_key: String§secret_key: String§endpoint: Option<String>For a non-AWS service: https://<account>.r2.cloudflarestorage.com.
path_style: boolMinIO and most self-hosted services need the bucket in the path rather than in the hostname.
public_url: Option<String>Where public objects are reached, when that differs from the API.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for S3Config
impl RefUnwindSafe for S3Config
impl Send for S3Config
impl Sync for S3Config
impl Unpin for S3Config
impl UnsafeUnpin for S3Config
impl UnwindSafe for S3Config
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