1 2 3 4 5 6 7 8 9 10
use crate::configuration_provider::ConfigurationProvider; use crate::value::Value; pub struct StaticProvider(pub Value); impl ConfigurationProvider for StaticProvider { fn provide(&self) -> Value { self.0.clone() } }