Struct sylvia_iot_data::libs::config::Config
source · pub struct Config {
pub auth: Option<String>,
pub broker: Option<String>,
pub db: Option<Db>,
pub mq_channels: Option<MqChannels>,
}
Expand description
Configuration file object.
Fields§
§auth: Option<String>
sylvia-iot-auth API base path with host. For example: http://localhost:1080/auth
.
broker: Option<String>
sylvia-iot-broker API base path with host. For example: http://localhost:2080/broker
.
db: Option<Db>
§mq_channels: Option<MqChannels>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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