Function booklibrs::actions::giveaway::get_book[][src]

pub fn get_book(
    reader_base: &mut ReaderBase,
    book_system: &mut BookSystem,
    genres: &Genres,
    caretaker: &mut Caretaker,
    app: &App,
    lang: Lang
)

Function that gives book to reader. It requires you to input info about reader, book and return date. If you have mistakes in input, program will let you know