Struct googleplay_protobuf::googleplay::DocV1
source · [−]pub struct DocV1 {Show 17 fields
pub finsky_doc: Option<Document>,
pub docid: Option<String>,
pub details_url: Option<String>,
pub reviews_url: Option<String>,
pub related_list_url: Option<String>,
pub more_by_list_url: Option<String>,
pub share_url: Option<String>,
pub creator: Option<String>,
pub details: Option<DocumentDetails>,
pub description_html: Option<String>,
pub related_browse_url: Option<String>,
pub more_by_browse_url: Option<String>,
pub related_header: Option<String>,
pub more_by_header: Option<String>,
pub title: Option<String>,
pub plus_one_data: Option<PlusOneData>,
pub warning_message: Option<String>,
}
Fields
finsky_doc: Option<Document>
docid: Option<String>
details_url: Option<String>
reviews_url: Option<String>
more_by_list_url: Option<String>
creator: Option<String>
details: Option<DocumentDetails>
description_html: Option<String>
more_by_browse_url: Option<String>
more_by_header: Option<String>
title: Option<String>
plus_one_data: Option<PlusOneData>
warning_message: Option<String>
Implementations
sourceimpl DocV1
impl DocV1
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 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.
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.
Returns the value of related_list_url
, or the default value if related_list_url
is unset.
sourcepub fn more_by_list_url(&self) -> &str
pub fn more_by_list_url(&self) -> &str
Returns the value of more_by_list_url
, or the default value if more_by_list_url
is unset.
Returns the value of share_url
, or the default value if share_url
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.
Returns the value of related_browse_url
, or the default value if related_browse_url
is unset.
sourcepub fn more_by_browse_url(&self) -> &str
pub fn more_by_browse_url(&self) -> &str
Returns the value of more_by_browse_url
, or the default value if more_by_browse_url
is unset.
Returns the value of related_header
, or the default value if related_header
is unset.
sourcepub fn more_by_header(&self) -> &str
pub fn more_by_header(&self) -> &str
Returns the value of more_by_header
, or the default value if more_by_header
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 warning_message(&self) -> &str
pub fn warning_message(&self) -> &str
Returns the value of warning_message
, or the default value if warning_message
is unset.
Trait Implementations
sourceimpl Message for DocV1
impl Message for DocV1
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 DocV1
Auto Trait Implementations
impl RefUnwindSafe for DocV1
impl Send for DocV1
impl Sync for DocV1
impl Unpin for DocV1
impl UnwindSafe for DocV1
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