pub struct ConfigData {
pub movies: Option<Movies>,
pub sync: Option<SyncCliCommand>,
pub gh: Option<Gh>,
pub music: Option<MusicCliCommand>,
}
Expand description
Configuration Configuration data is stored in a TOML file The configuration is separated into different sections
Fields§
§movies: Option<Movies>
Movies configuration
sync: Option<SyncCliCommand>
Sync configuration
gh: Option<Gh>
Github configuration
music: Option<MusicCliCommand>
Music configuration
Trait Implementations§
source§impl Default for ConfigData
impl Default for ConfigData
source§fn default() -> ConfigData
fn default() -> ConfigData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConfigData
impl<'de> Deserialize<'de> for ConfigData
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 ConfigData
impl RefUnwindSafe for ConfigData
impl Send for ConfigData
impl Sync for ConfigData
impl Unpin for ConfigData
impl UnwindSafe for ConfigData
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