Struct googleplay_protobuf::googleplay::Review
source · [−]pub struct Review {Show 14 fields
pub author_name: Option<String>,
pub url: Option<String>,
pub source: Option<String>,
pub document_version: Option<String>,
pub timestamp_msec: Option<i64>,
pub star_rating: Option<i32>,
pub title: Option<String>,
pub comment: Option<String>,
pub comment_id: Option<String>,
pub device_name: Option<String>,
pub reply_text: Option<String>,
pub reply_timestamp_msec: Option<i64>,
pub author: Option<ReviewAuthor>,
pub user_profile: Option<UserProfile>,
}
Fields
url: Option<String>
source: Option<String>
document_version: Option<String>
timestamp_msec: Option<i64>
star_rating: Option<i32>
title: Option<String>
comment: Option<String>
comment_id: Option<String>
device_name: Option<String>
reply_text: Option<String>
reply_timestamp_msec: Option<i64>
user_profile: Option<UserProfile>
Implementations
sourceimpl Review
impl Review
Returns the value of author_name
, or the default value if author_name
is unset.
sourcepub fn source(&self) -> &str
pub fn source(&self) -> &str
Returns the value of source
, or the default value if source
is unset.
sourcepub fn document_version(&self) -> &str
pub fn document_version(&self) -> &str
Returns the value of document_version
, or the default value if document_version
is unset.
sourcepub fn timestamp_msec(&self) -> i64
pub fn timestamp_msec(&self) -> i64
Returns the value of timestamp_msec
, or the default value if timestamp_msec
is unset.
sourcepub fn star_rating(&self) -> i32
pub fn star_rating(&self) -> i32
Returns the value of star_rating
, or the default value if star_rating
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 comment(&self) -> &str
pub fn comment(&self) -> &str
Returns the value of comment
, or the default value if comment
is unset.
sourcepub fn comment_id(&self) -> &str
pub fn comment_id(&self) -> &str
Returns the value of comment_id
, or the default value if comment_id
is unset.
sourcepub fn device_name(&self) -> &str
pub fn device_name(&self) -> &str
Returns the value of device_name
, or the default value if device_name
is unset.
sourcepub fn reply_text(&self) -> &str
pub fn reply_text(&self) -> &str
Returns the value of reply_text
, or the default value if reply_text
is unset.
sourcepub fn reply_timestamp_msec(&self) -> i64
pub fn reply_timestamp_msec(&self) -> i64
Returns the value of reply_timestamp_msec
, or the default value if reply_timestamp_msec
is unset.
Trait Implementations
sourceimpl Message for Review
impl Message for Review
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 Review
Auto Trait Implementations
impl RefUnwindSafe for Review
impl Send for Review
impl Sync for Review
impl Unpin for Review
impl UnwindSafe for Review
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