Struct googleplay_protobuf::googleplay::Review
source · pub struct Review {Show 17 fields
pub author_name: Option<String>,
pub url: Option<String>,
pub source: Option<String>,
pub version: Option<String>,
pub timestamp: 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_time_stamp: Option<i64>,
pub author: Option<ReviewAuthor>,
pub user_profile: Option<UserProfile>,
pub sentiment: Option<Image>,
pub helpful_count: Option<i32>,
pub thumbs_up_count: Option<i64>,
}
Fields§
§url: Option<String>
§source: Option<String>
§version: Option<String>
§timestamp: 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_time_stamp: Option<i64>
§user_profile: Option<UserProfile>
§sentiment: Option<Image>
§helpful_count: Option<i32>
§thumbs_up_count: Option<i64>
Implementations§
source§impl 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 version(&self) -> &str
pub fn version(&self) -> &str
Returns the value of version
, or the default value if version
is unset.
sourcepub fn timestamp(&self) -> i64
pub fn timestamp(&self) -> i64
Returns the value of timestamp
, or the default value if timestamp
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_time_stamp(&self) -> i64
pub fn reply_time_stamp(&self) -> i64
Returns the value of reply_time_stamp
, or the default value if reply_time_stamp
is unset.
sourcepub fn helpful_count(&self) -> i32
pub fn helpful_count(&self) -> i32
Returns the value of helpful_count
, or the default value if helpful_count
is unset.
sourcepub fn thumbs_up_count(&self) -> i64
pub fn thumbs_up_count(&self) -> i64
Returns the value of thumbs_up_count
, or the default value if thumbs_up_count
is unset.
Trait Implementations§
source§impl Message for Review
impl Message for Review
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.