Struct googleplay_protobuf::googleplay::BookDetails
source · [−]pub struct BookDetails {Show 16 fields
pub subject: Vec<BookSubject>,
pub publisher: Option<String>,
pub publication_date: Option<String>,
pub isbn: Option<String>,
pub number_of_pages: Option<i32>,
pub subtitle: Option<String>,
pub author: Vec<BookAuthor>,
pub reader_url: Option<String>,
pub download_epub_url: Option<String>,
pub download_pdf_url: Option<String>,
pub acs_epub_token_url: Option<String>,
pub acs_pdf_token_url: Option<String>,
pub epub_available: Option<bool>,
pub pdf_available: Option<bool>,
pub about_the_author: Option<String>,
pub identifier: Vec<Identifier>,
}
Fields
subject: Vec<BookSubject>
publisher: Option<String>
publication_date: Option<String>
isbn: Option<String>
number_of_pages: Option<i32>
subtitle: Option<String>
reader_url: Option<String>
download_epub_url: Option<String>
download_pdf_url: Option<String>
acs_epub_token_url: Option<String>
acs_pdf_token_url: Option<String>
epub_available: Option<bool>
pdf_available: Option<bool>
identifier: Vec<Identifier>
Implementations
sourceimpl BookDetails
impl BookDetails
sourcepub fn publisher(&self) -> &str
pub fn publisher(&self) -> &str
Returns the value of publisher
, or the default value if publisher
is unset.
sourcepub fn publication_date(&self) -> &str
pub fn publication_date(&self) -> &str
Returns the value of publication_date
, or the default value if publication_date
is unset.
sourcepub fn number_of_pages(&self) -> i32
pub fn number_of_pages(&self) -> i32
Returns the value of number_of_pages
, or the default value if number_of_pages
is unset.
sourcepub fn subtitle(&self) -> &str
pub fn subtitle(&self) -> &str
Returns the value of subtitle
, or the default value if subtitle
is unset.
sourcepub fn reader_url(&self) -> &str
pub fn reader_url(&self) -> &str
Returns the value of reader_url
, or the default value if reader_url
is unset.
sourcepub fn download_epub_url(&self) -> &str
pub fn download_epub_url(&self) -> &str
Returns the value of download_epub_url
, or the default value if download_epub_url
is unset.
sourcepub fn download_pdf_url(&self) -> &str
pub fn download_pdf_url(&self) -> &str
Returns the value of download_pdf_url
, or the default value if download_pdf_url
is unset.
sourcepub fn acs_epub_token_url(&self) -> &str
pub fn acs_epub_token_url(&self) -> &str
Returns the value of acs_epub_token_url
, or the default value if acs_epub_token_url
is unset.
sourcepub fn acs_pdf_token_url(&self) -> &str
pub fn acs_pdf_token_url(&self) -> &str
Returns the value of acs_pdf_token_url
, or the default value if acs_pdf_token_url
is unset.
sourcepub fn epub_available(&self) -> bool
pub fn epub_available(&self) -> bool
Returns the value of epub_available
, or the default value if epub_available
is unset.
sourcepub fn pdf_available(&self) -> bool
pub fn pdf_available(&self) -> bool
Returns the value of pdf_available
, or the default value if pdf_available
is unset.
Returns the value of about_the_author
, or the default value if about_the_author
is unset.
Trait Implementations
sourceimpl Clone for BookDetails
impl Clone for BookDetails
sourcefn clone(&self) -> BookDetails
fn clone(&self) -> BookDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BookDetails
impl Debug for BookDetails
sourceimpl Default for BookDetails
impl Default for BookDetails
sourceimpl Message for BookDetails
impl Message for BookDetails
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
sourcefn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message to a buffer. Read more
sourcefn encode_to_vec(&self) -> Vec<u8, Global>
fn encode_to_vec(&self) -> Vec<u8, Global>
Encodes the message to a newly allocated buffer.
sourcefn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message with a length-delimiter to a buffer. Read more
sourcefn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
Encodes the message with a length-delimiter to a newly allocated buffer.
sourcefn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
sourcefn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
sourcefn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self
. Read more
sourcefn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
sourceimpl PartialEq<BookDetails> for BookDetails
impl PartialEq<BookDetails> for BookDetails
sourcefn eq(&self, other: &BookDetails) -> bool
fn eq(&self, other: &BookDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BookDetails) -> bool
fn ne(&self, other: &BookDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for BookDetails
Auto Trait Implementations
impl RefUnwindSafe for BookDetails
impl Send for BookDetails
impl Sync for BookDetails
impl Unpin for BookDetails
impl UnwindSafe for BookDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more