pub struct MusicCliCommand {
pub music_file: Option<String>,
pub env_path: Option<String>,
}
Expand description
Movies configuration
Fields§
§music_file: Option<String>
Path to the movies file
env_path: Option<String>
env path
Implementations§
source§impl MusicCliCommand
impl MusicCliCommand
sourcepub fn get_music_file_path(config: &mut Config) -> PathBuf
pub fn get_music_file_path(config: &mut Config) -> PathBuf
Get the music file path
sourcepub fn open_music_file(config: &mut Config)
pub fn open_music_file(config: &mut Config)
open music file
sourcepub fn sync_music(config: &mut Config, _matches: &ArgMatches)
pub fn sync_music(config: &mut Config, _matches: &ArgMatches)
Sync music
Trait Implementations§
source§impl CliCommand for MusicCliCommand
impl CliCommand for MusicCliCommand
source§impl Default for MusicCliCommand
impl Default for MusicCliCommand
source§fn default() -> MusicCliCommand
fn default() -> MusicCliCommand
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MusicCliCommand
impl<'de> Deserialize<'de> for MusicCliCommand
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 MusicCliCommand
impl RefUnwindSafe for MusicCliCommand
impl Send for MusicCliCommand
impl Sync for MusicCliCommand
impl Unpin for MusicCliCommand
impl UnwindSafe for MusicCliCommand
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