pub struct ServerConfiguration {
pub entries: HashMap<String, ServerConfigurationEntries>,
pub filters: ServerConfigurationFilters,
pub modules: Vec<Arc<dyn Module + Send + Sync>>,
}
Expand description
A specific Ferron server configuration
Fields§
§entries: HashMap<String, ServerConfigurationEntries>
Entries for the configuration
filters: ServerConfigurationFilters
Configuration filters
modules: Vec<Arc<dyn Module + Send + Sync>>
Loaded modules
Trait Implementations§
Source§impl Clone for ServerConfiguration
impl Clone for ServerConfiguration
Source§fn clone(&self) -> ServerConfiguration
fn clone(&self) -> ServerConfiguration
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ServerConfiguration
impl !RefUnwindSafe for ServerConfiguration
impl Send for ServerConfiguration
impl Sync for ServerConfiguration
impl Unpin for ServerConfiguration
impl !UnwindSafe for ServerConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more