Struct google_books1::api::VolumeUserInfo
source · pub struct VolumeUserInfo {Show 19 fields
pub acquired_time: Option<String>,
pub acquisition_type: Option<i32>,
pub copy: Option<VolumeUserInfoCopy>,
pub entitlement_type: Option<i32>,
pub family_sharing: Option<VolumeUserInfoFamilySharing>,
pub is_family_shared_from_user: Option<bool>,
pub is_family_shared_to_user: Option<bool>,
pub is_family_sharing_allowed: Option<bool>,
pub is_family_sharing_disabled_by_fop: Option<bool>,
pub is_in_my_books: Option<bool>,
pub is_preordered: Option<bool>,
pub is_purchased: Option<bool>,
pub is_uploaded: Option<bool>,
pub reading_position: Option<ReadingPosition>,
pub rental_period: Option<VolumeUserInfoRentalPeriod>,
pub rental_state: Option<String>,
pub review: Option<Review>,
pub updated: Option<String>,
pub user_uploaded_volume_info: Option<VolumeUserInfoUserUploadedVolumeInfo>,
}
Expand description
User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
This type is not used in any activity, and only used as part of another schema.
Fields§
§acquired_time: Option<String>
Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time format) Acquiring includes purchase, user upload, receiving family sharing, etc.
acquisition_type: Option<i32>
How this volume was acquired.
copy: Option<VolumeUserInfoCopy>
Copy/Paste accounting information.
entitlement_type: Option<i32>
Whether this volume is purchased, sample, pd download etc.
family_sharing: Option<VolumeUserInfoFamilySharing>
Information on the ability to share with the family.
Whether or not the user shared this volume with the family.
Whether or not the user received this volume through family sharing.
is_family_sharing_allowed: Option<bool>
Deprecated: Replaced by familySharing.
is_family_sharing_disabled_by_fop: Option<bool>
Deprecated: Replaced by familySharing.
is_in_my_books: Option<bool>
Whether or not this volume is currently in “my books.”
is_preordered: Option<bool>
Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
is_purchased: Option<bool>
Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
is_uploaded: Option<bool>
Whether or not this volume was user uploaded.
reading_position: Option<ReadingPosition>
The user’s current reading position in the volume, if one is available. (In LITE projection.)
rental_period: Option<VolumeUserInfoRentalPeriod>
Period during this book is/was a valid rental.
rental_state: Option<String>
Whether this book is an active or an expired rental.
review: Option<Review>
This user’s review of this volume, if one exists.
updated: Option<String>
Timestamp when this volume was last modified by a user action, such as a reading position update, volume purchase or writing a review. (RFC 3339 UTC date-time format).
user_uploaded_volume_info: Option<VolumeUserInfoUserUploadedVolumeInfo>
no description provided
Trait Implementations§
source§impl Clone for VolumeUserInfo
impl Clone for VolumeUserInfo
source§fn clone(&self) -> VolumeUserInfo
fn clone(&self) -> VolumeUserInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more