[][src]Struct google_books1::VolumeSaleInfo

pub struct VolumeSaleInfo {
    pub country: Option<String>,
    pub retail_price: Option<VolumeSaleInfoRetailPrice>,
    pub is_ebook: Option<bool>,
    pub offers: Option<Vec<VolumeSaleInfoOffers>>,
    pub saleability: Option<String>,
    pub buy_link: Option<String>,
    pub on_sale_date: Option<String>,
    pub list_price: Option<VolumeSaleInfoListPrice>,
}

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

country: Option<String>

The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)

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.)

is_ebook: Option<bool>

Whether or not this volume is an eBook (can be added to the My eBooks shelf).

offers: Option<Vec<VolumeSaleInfoOffers>>

Offers available for this volume (sales and rentals).

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.

buy_link: Option<String>

URL to purchase this volume on the Google Books site. (In LITE projection)

on_sale_date: Option<String>

The date on which this book is available for sale.

list_price: Option<VolumeSaleInfoListPrice>

Suggested retail price. (In LITE projection.)

Trait Implementations

impl Part for VolumeSaleInfo[src]

impl NestedType for VolumeSaleInfo[src]

impl Default for VolumeSaleInfo[src]

impl Clone for VolumeSaleInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for VolumeSaleInfo[src]

impl Serialize for VolumeSaleInfo[src]

impl<'de> Deserialize<'de> for VolumeSaleInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]