pub struct S3Config {
pub aws_access_key_id: String,
pub aws_region: String,
pub aws_secret_access_key: Option<String>,
pub aws_endpoint: Option<String>,
pub aws_allow_http: Option<String>,
}
Expand description
Config for the s3 object-store. The secret_access_key is read from the environment variable AWS_SECRET_ACCESS_KEY
Fields§
§aws_access_key_id: String
§aws_region: String
§aws_secret_access_key: Option<String>
§aws_endpoint: Option<String>
§aws_allow_http: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for S3Config
impl<'de> Deserialize<'de> for S3Config
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
Auto Trait Implementations§
impl Freeze for S3Config
impl RefUnwindSafe for S3Config
impl Send for S3Config
impl Sync for S3Config
impl Unpin 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