Struct googleplay_protobuf::googleplay::DocV2
source · [−]pub struct DocV2 {Show 27 fields
pub docid: Option<String>,
pub backend_docid: Option<String>,
pub doc_type: Option<i32>,
pub backend_id: Option<i32>,
pub title: Option<String>,
pub creator: Option<String>,
pub description_html: Option<String>,
pub offer: Vec<Offer>,
pub availability: Option<Availability>,
pub image: Vec<Image>,
pub child: Vec<DocV2>,
pub container_metadata: Option<ContainerMetadata>,
pub details: Option<DocumentDetails>,
pub aggregate_rating: Option<AggregateRating>,
pub related_links: Option<RelatedLinks>,
pub details_url: Option<String>,
pub share_url: Option<String>,
pub reviews_url: Option<String>,
pub backend_url: Option<String>,
pub purchase_details_url: Option<String>,
pub details_reusable: Option<bool>,
pub subtitle: Option<String>,
pub unknown_category_container: Option<UnknownCategoryContainer>,
pub unknown25: Option<Unknown25>,
pub description_short: Option<String>,
pub review_snippets_url: Option<String>,
pub review_questions_url: Option<String>,
}
Fields
docid: Option<String>
backend_docid: Option<String>
doc_type: Option<i32>
backend_id: Option<i32>
title: Option<String>
creator: Option<String>
description_html: Option<String>
offer: Vec<Offer>
availability: Option<Availability>
image: Vec<Image>
child: Vec<DocV2>
container_metadata: Option<ContainerMetadata>
details: Option<DocumentDetails>
aggregate_rating: Option<AggregateRating>
details_url: Option<String>
reviews_url: Option<String>
backend_url: Option<String>
purchase_details_url: Option<String>
details_reusable: Option<bool>
subtitle: Option<String>
unknown_category_container: Option<UnknownCategoryContainer>
unknown25: Option<Unknown25>
description_short: Option<String>
review_snippets_url: Option<String>
review_questions_url: Option<String>
Implementations
sourceimpl DocV2
impl DocV2
sourcepub fn docid(&self) -> &str
pub fn docid(&self) -> &str
Returns the value of docid
, or the default value if docid
is unset.
sourcepub fn backend_docid(&self) -> &str
pub fn backend_docid(&self) -> &str
Returns the value of backend_docid
, or the default value if backend_docid
is unset.
sourcepub fn doc_type(&self) -> i32
pub fn doc_type(&self) -> i32
Returns the value of doc_type
, or the default value if doc_type
is unset.
sourcepub fn backend_id(&self) -> i32
pub fn backend_id(&self) -> i32
Returns the value of backend_id
, or the default value if backend_id
is unset.
sourcepub fn title(&self) -> &str
pub fn title(&self) -> &str
Returns the value of title
, or the default value if title
is unset.
sourcepub fn creator(&self) -> &str
pub fn creator(&self) -> &str
Returns the value of creator
, or the default value if creator
is unset.
sourcepub fn description_html(&self) -> &str
pub fn description_html(&self) -> &str
Returns the value of description_html
, or the default value if description_html
is unset.
sourcepub fn details_url(&self) -> &str
pub fn details_url(&self) -> &str
Returns the value of details_url
, or the default value if details_url
is unset.
Returns the value of share_url
, or the default value if share_url
is unset.
sourcepub fn reviews_url(&self) -> &str
pub fn reviews_url(&self) -> &str
Returns the value of reviews_url
, or the default value if reviews_url
is unset.
sourcepub fn backend_url(&self) -> &str
pub fn backend_url(&self) -> &str
Returns the value of backend_url
, or the default value if backend_url
is unset.
sourcepub fn purchase_details_url(&self) -> &str
pub fn purchase_details_url(&self) -> &str
Returns the value of purchase_details_url
, or the default value if purchase_details_url
is unset.
sourcepub fn details_reusable(&self) -> bool
pub fn details_reusable(&self) -> bool
Returns the value of details_reusable
, or the default value if details_reusable
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 description_short(&self) -> &str
pub fn description_short(&self) -> &str
Returns the value of description_short
, or the default value if description_short
is unset.
sourcepub fn review_snippets_url(&self) -> &str
pub fn review_snippets_url(&self) -> &str
Returns the value of review_snippets_url
, or the default value if review_snippets_url
is unset.
sourcepub fn review_questions_url(&self) -> &str
pub fn review_questions_url(&self) -> &str
Returns the value of review_questions_url
, or the default value if review_questions_url
is unset.
Trait Implementations
sourceimpl Message for DocV2
impl Message for DocV2
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
impl StructuralPartialEq for DocV2
Auto Trait Implementations
impl RefUnwindSafe for DocV2
impl Send for DocV2
impl Sync for DocV2
impl Unpin for DocV2
impl UnwindSafe for DocV2
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