Struct garage_util::config::S3ApiConfig
source · pub struct S3ApiConfig {
pub api_bind_addr: Option<SocketAddr>,
pub s3_region: String,
pub root_domain: Option<String>,
}
Expand description
Configuration for S3 api
Fields§
§api_bind_addr: Option<SocketAddr>
Address and port to bind for api serving
s3_region: String
S3 region to use
root_domain: Option<String>
Suffix to remove from domain name to find bucket. If None, vhost-style S3 request are disabled
Trait Implementations§
source§impl Clone for S3ApiConfig
impl Clone for S3ApiConfig
source§fn clone(&self) -> S3ApiConfig
fn clone(&self) -> S3ApiConfig
Returns a copy 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 S3ApiConfig
impl Debug for S3ApiConfig
source§impl<'de> Deserialize<'de> for S3ApiConfig
impl<'de> Deserialize<'de> for S3ApiConfig
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