Struct webserver_base::BaseSettings
source · pub struct BaseSettings {
pub host: String,
pub port: u16,
pub environment: Environment,
pub project_name: String,
pub project_description: String,
pub project_keywords: String,
pub home_url: String,
pub analytics_domain: String,
pub sentry_dsn: String,
pub uptime_domain: String,
}Fields§
§host: String§port: u16§environment: Environment§project_name: String§project_description: String§project_keywords: String§home_url: String§analytics_domain: String§sentry_dsn: String§uptime_domain: StringTrait Implementations§
source§impl Clone for BaseSettings
impl Clone for BaseSettings
source§fn clone(&self) -> BaseSettings
fn clone(&self) -> BaseSettings
Returns a copy 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 RefUnwindSafe for BaseSettings
impl Send for BaseSettings
impl Sync for BaseSettings
impl Unpin for BaseSettings
impl UnwindSafe for BaseSettings
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