Struct googleplay_protobuf::googleplay::QuickLink
source · pub struct QuickLink {
pub name: Option<String>,
pub image: Option<Image>,
pub link: Option<ResolvedLink>,
pub display_required: Option<bool>,
pub server_logs_cookie: Option<Vec<u8>>,
pub backend_id: Option<i32>,
pub prism_style: Option<bool>,
}
Fields§
§name: Option<String>
§image: Option<Image>
§link: Option<ResolvedLink>
§display_required: Option<bool>
§backend_id: Option<i32>
§prism_style: Option<bool>
Implementations§
source§impl QuickLink
impl QuickLink
sourcepub fn display_required(&self) -> bool
pub fn display_required(&self) -> bool
Returns the value of display_required
, or the default value if display_required
is unset.
Returns the value of server_logs_cookie
, or the default value if server_logs_cookie
is unset.
sourcepub fn backend_id(&self) -> i32
pub fn backend_id(&self) -> i32
Returns the value of backend_id
, or the default value if backend_id
is unset.
sourcepub fn prism_style(&self) -> bool
pub fn prism_style(&self) -> bool
Returns the value of prism_style
, or the default value if prism_style
is unset.
Trait Implementations§
source§impl Message for QuickLink
impl Message for QuickLink
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
.source§impl PartialEq for QuickLink
impl PartialEq for QuickLink
impl StructuralPartialEq for QuickLink
Auto Trait Implementations§
impl Freeze for QuickLink
impl RefUnwindSafe for QuickLink
impl Send for QuickLink
impl Sync for QuickLink
impl Unpin for QuickLink
impl UnwindSafe for QuickLink
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