Struct googleplay_protobuf::googleplay::Document
source · [−]pub struct Document {Show 18 fields
pub docid: Option<Docid>,
pub fetch_docid: Option<Docid>,
pub sample_docid: Option<Docid>,
pub title: Option<String>,
pub url: Option<String>,
pub snippet: Vec<String>,
pub price_deprecated: Option<Offer>,
pub availability: Option<Availability>,
pub image: Vec<Image>,
pub child: Vec<Document>,
pub aggregate_rating: Option<AggregateRating>,
pub offer: Vec<Offer>,
pub translated_snippet: Vec<TranslatedText>,
pub document_variant: Vec<DocumentVariant>,
pub category_id: Vec<String>,
pub decoration: Vec<Document>,
pub parent: Vec<Document>,
pub privacy_policy_url: Option<String>,
}
Fields
docid: Option<Docid>
fetch_docid: Option<Docid>
sample_docid: Option<Docid>
title: Option<String>
url: Option<String>
snippet: Vec<String>
price_deprecated: Option<Offer>
availability: Option<Availability>
image: Vec<Image>
child: Vec<Document>
aggregate_rating: Option<AggregateRating>
offer: Vec<Offer>
translated_snippet: Vec<TranslatedText>
document_variant: Vec<DocumentVariant>
category_id: Vec<String>
decoration: Vec<Document>
parent: Vec<Document>
privacy_policy_url: Option<String>
Implementations
Trait Implementations
sourceimpl Message for Document
impl Message for Document
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 Document
Auto Trait Implementations
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
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