pub struct CoreSettings {
pub name: String,
pub secret_key: String,
pub language_code: String,
pub timezone: String,
}Expand description
The CoreSettings struct holds basic, yet essential information about the application.
Fields§
§name: String§secret_key: String§language_code: String§timezone: StringTrait Implementations§
Source§impl Clone for CoreSettings
impl Clone for CoreSettings
Source§fn clone(&self) -> CoreSettings
fn clone(&self) -> CoreSettings
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 moreSource§impl Debug for CoreSettings
impl Debug for CoreSettings
Source§impl Default for CoreSettings
impl Default for CoreSettings
Source§impl<'de> Deserialize<'de> for CoreSettingswhere
CoreSettings: Default,
impl<'de> Deserialize<'de> for CoreSettingswhere
CoreSettings: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoreSettings
impl RefUnwindSafe for CoreSettings
impl Send for CoreSettings
impl Sync for CoreSettings
impl Unpin for CoreSettings
impl UnwindSafe for CoreSettings
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