Struct garage_util::config::WebConfig
source · pub struct WebConfig {
pub bind_addr: SocketAddr,
pub root_domain: String,
}
Expand description
Configuration for serving files as normal web server
Fields§
§bind_addr: SocketAddr
Address and port to bind for web serving
root_domain: String
Suffix to remove from domain name to find bucket
Trait Implementations§
source§impl<'de> Deserialize<'de> for WebConfig
impl<'de> Deserialize<'de> for WebConfig
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