Skip to main content

add_favorite

Function add_favorite 

Source
pub fn add_favorite(item: impl Into<LibraryItem>) -> Result<(), Error>
Expand description

Adds a new favorite item to the library.

Fails if the library is not initialized.