Struct googleplay_protobuf::googleplay::Tip
source · pub struct Tip {
pub tip_id: Option<String>,
pub text: Option<String>,
pub polarity: Option<i32>,
pub review_count: Option<i64>,
pub language: Option<String>,
pub snippet_review_id: Vec<String>,
}
Fields§
§tip_id: Option<String>
§text: Option<String>
§polarity: Option<i32>
§review_count: Option<i64>
§language: Option<String>
§snippet_review_id: Vec<String>
Implementations§
source§impl Tip
impl Tip
sourcepub fn tip_id(&self) -> &str
pub fn tip_id(&self) -> &str
Returns the value of tip_id
, or the default value if tip_id
is unset.
sourcepub fn polarity(&self) -> i32
pub fn polarity(&self) -> i32
Returns the value of polarity
, or the default value if polarity
is unset.
sourcepub fn review_count(&self) -> i64
pub fn review_count(&self) -> i64
Returns the value of review_count
, or the default value if review_count
is unset.
Trait Implementations§
source§impl Message for Tip
impl Message for Tip
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
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>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.impl StructuralPartialEq for Tip
Auto Trait Implementations§
impl Freeze for Tip
impl RefUnwindSafe for Tip
impl Send for Tip
impl Sync for Tip
impl Unpin for Tip
impl UnwindSafe for Tip
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more