pub struct Bucket {
pub endpoint: String,
pub region: String,
pub bucket: String,
pub path_style: bool,
pub creds: Credentials,
}Expand description
Where objects go.
Fields§
§endpoint: Stringhttps://s3.eu-central-1.amazonaws.com, http://127.0.0.1:9000.
region: String§bucket: String§path_style: boolhttps://endpoint/bucket/key rather than https://bucket.endpoint/key.
creds: CredentialsTrait Implementations§
Auto Trait Implementations§
impl Freeze for Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnsafeUnpin for Bucket
impl UnwindSafe for Bucket
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