wp_mini_html/types.rs
1pub use wp_mini::types::StoryResponse;
2pub struct StoryDownload<T> {
3 /// Sanitized Title ( Follow {id}-{title} )
4 pub sanitized_title: String,
5 /// The generated EPUB file, either as a PathBuf or Vec<u8>.
6 pub epub_response: T,
7 /// The full story metadata fetched from Wattpad.
8 pub metadata: StoryResponse,
9}