Struct google_books1::api::VolumeSaleInfo
source · pub struct VolumeSaleInfo {
pub buy_link: Option<String>,
pub country: Option<String>,
pub is_ebook: Option<bool>,
pub list_price: Option<VolumeSaleInfoListPrice>,
pub offers: Option<Vec<VolumeSaleInfoOffers>>,
pub on_sale_date: Option<String>,
pub retail_price: Option<VolumeSaleInfoRetailPrice>,
pub saleability: Option<String>,
}
Expand description
Any information about a volume related to the eBookstore and/or purchaseability. This information can depend on the country where the request originates from (i.e. books may not be for sale in certain countries).
This type is not used in any activity, and only used as part of another schema.
Fields§
§buy_link: Option<String>
URL to purchase this volume on the Google Books site. (In LITE projection)
country: Option<String>
The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)
is_ebook: Option<bool>
Whether or not this volume is an eBook (can be added to the My eBooks shelf).
list_price: Option<VolumeSaleInfoListPrice>
Suggested retail price. (In LITE projection.)
offers: Option<Vec<VolumeSaleInfoOffers>>
Offers available for this volume (sales and rentals).
on_sale_date: Option<String>
The date on which this book is available for sale.
retail_price: Option<VolumeSaleInfoRetailPrice>
The actual selling price of the book. This is the same as the suggested retail or list price unless there are offers or discounts on this volume. (In LITE projection.)
saleability: Option<String>
Whether or not this book is available for sale or offered for free in the Google eBookstore for the country listed above. Possible values are FOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER.
Trait Implementations§
source§impl Clone for VolumeSaleInfo
impl Clone for VolumeSaleInfo
source§fn clone(&self) -> VolumeSaleInfo
fn clone(&self) -> VolumeSaleInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more