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,
}
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
Trait Implementations§
Source§impl Clone for BaseSettings
impl Clone for BaseSettings
Source§fn clone(&self) -> BaseSettings
fn clone(&self) -> BaseSettings
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 BaseSettings
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