pub struct S3Resource {
pub bucket: String,
pub region: String,
pub end_point: String,
pub use_ssl: bool,
pub access_key: Option<String>,
pub secret_key: Option<String>,
pub path_style: bool,
}
Fields§
§bucket: String
§region: String
§end_point: String
§use_ssl: bool
§access_key: Option<String>
§secret_key: Option<String>
§path_style: bool
Implementations§
Trait Implementations§
Source§impl Clone for S3Resource
impl Clone for S3Resource
Source§fn clone(&self) -> S3Resource
fn clone(&self) -> S3Resource
Returns a duplicate of the value. Read more
1.0.0 · 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 S3Resource
impl Debug for S3Resource
Source§impl Default for S3Resource
impl Default for S3Resource
Source§fn default() -> S3Resource
fn default() -> S3Resource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for S3Resource
impl<'de> Deserialize<'de> for S3Resource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for S3Resource
impl PartialEq for S3Resource
Source§impl Serialize for S3Resource
impl Serialize for S3Resource
impl StructuralPartialEq for S3Resource
Auto Trait Implementations§
impl Freeze for S3Resource
impl RefUnwindSafe for S3Resource
impl Send for S3Resource
impl Sync for S3Resource
impl Unpin for S3Resource
impl UnwindSafe for S3Resource
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