Trait actix_settings::ApplySettings
source · [−]pub trait ApplySettings {
fn apply_settings<A>(self, settings: &BasicSettings<A>) -> Self
where
A: DeserializeOwned;
}
Expand description
Extension trait for applying parsed settings to the server object.
Required Methods
fn apply_settings<A>(self, settings: &BasicSettings<A>) -> Self where
A: DeserializeOwned,
fn apply_settings<A>(self, settings: &BasicSettings<A>) -> Self where
A: DeserializeOwned,
Apply a BasicSettings
value to self
.