pub struct ThingsConfig {
pub db_path: Option<PathBuf>,
pub auth_token: Option<String>,
}Fields§
§db_path: Option<PathBuf>§auth_token: Option<String>Trait Implementations§
Source§impl Clone for ThingsConfig
impl Clone for ThingsConfig
Source§fn clone(&self) -> ThingsConfig
fn clone(&self) -> ThingsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThingsConfig
impl Debug for ThingsConfig
Source§impl Default for ThingsConfig
impl Default for ThingsConfig
Source§fn default() -> ThingsConfig
fn default() -> ThingsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThingsConfig
impl<'de> Deserialize<'de> for ThingsConfig
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 ThingsConfig
impl RefUnwindSafe for ThingsConfig
impl Send for ThingsConfig
impl Sync for ThingsConfig
impl Unpin for ThingsConfig
impl UnsafeUnpin for ThingsConfig
impl UnwindSafe for ThingsConfig
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