Struct leanpub::Summary [−][src]
pub struct Summary { pub id: u32, pub title: String, pub subtitle: Option<String>, pub slug: String, pub about_the_book: Option<String>, pub total_revenue: f32, pub last_published_at: Option<String>, pub word_count: u32, pub page_count: u32, pub word_count_published: u32, pub page_count_published: u32, pub total_copies_sold: u32, pub meta_description: Option<String>, pub author_string: String, pub url: String, pub title_page_url: String, pub minimum_price: f32, pub suggested_price: f32, pub image: String, pub possible_reader_count: u32, pub pdf_preview_url: Option<String>, pub epub_preview_url: Option<String>, pub mobi_preview_url: Option<String>, }
Contains summary information about a book.
Fields
id: u32
The book's ID.
title: String
The book's title.
subtitle: Option<String>
The book's subtitle.
slug: String
The book's slug.
about_the_book: Option<String>
The book's description.
total_revenue: f32
The book's total revenue.
last_published_at: Option<String>
The date the book was last published.
word_count: u32
The number of words.
page_count: u32
The number of pages.
word_count_published: u32
The number of words in the published book.
page_count_published: u32
The number of pages in the published book.
total_copies_sold: u32
The number of total sold copies.
meta_description: Option<String>
The meta description of the book.
Contains author information.
url: String
The book's URL.
title_page_url: String
A large image of the book's title page.
minimum_price: f32
The book's minimum price.
suggested_price: f32
The book's suggested price.
image: String
A small image of the book's title page.
possible_reader_count: u32
The number of user's who has an interest in purchasing the book.
pdf_preview_url: Option<String>
The URL to the PDF preview.
epub_preview_url: Option<String>
The URL to the epub preview.
mobi_preview_url: Option<String>
The URL to the mobi preview.