Struct googleplay_protobuf::googleplay::Annotations
source · pub struct Annotations {Show 45 fields
pub section_related: Option<SectionMetaData>,
pub section_more_by: Option<SectionMetaData>,
pub warning: Vec<Warning>,
pub section_body_of_work: Option<SectionMetaData>,
pub section_core_content: Option<SectionMetaData>,
pub overlay_meta_data: Option<OverlayMetaData>,
pub badge_for_creator: Vec<Badge>,
pub info_badge: Vec<Badge>,
pub annotation_link: Option<AnnotationLink>,
pub section_cross_sell: Option<SectionMetaData>,
pub section_related_item_type: Option<SectionMetaData>,
pub promoted_doc: Vec<PromotedDoc>,
pub offer_note: Option<String>,
pub privacy_policy_url: Option<String>,
pub suggestion_reasons: Option<SuggestionReasons>,
pub optimal_device_class_warning: Option<Warning>,
pub badge_container: Vec<BadgeContainer>,
pub section_suggest_for_rating: Option<SectionMetaData>,
pub section_purchase_cross_sell: Option<SectionMetaData>,
pub overflow_link: Vec<OverflowLink>,
pub attribution_html: Option<String>,
pub purchase_history_details: Option<PurchaseHistoryDetails>,
pub badge_for_legacy_rating: Option<Badge>,
pub voucher_info: Vec<VoucherInfo>,
pub section_featured_apps: Option<SectionMetaData>,
pub details_page_cluster: Vec<SectionMetaData>,
pub video_annotations: Option<VideoAnnotations>,
pub section_purchase_related_topics: Option<SectionMetaData>,
pub my_subscription_details: Option<MySubscriptionDetails>,
pub my_reward_details: Option<MyRewardDetails>,
pub feature_badge: Vec<Badge>,
pub snippet: Option<Snippet>,
pub downloads_label: Option<String>,
pub badge_for_rating: Option<Badge>,
pub category_info: Option<CategoryInfo>,
pub reasons: Option<EditorReason>,
pub top_chart_stream: Option<Stream>,
pub category_name: Option<String>,
pub chip: Vec<Chip>,
pub display_badge: Vec<Badge>,
pub live_stream_url: Option<String>,
pub promotion_stream_url: Option<String>,
pub overlay_meta_data_extra: Option<OverlayMetaData>,
pub section_image: Option<SectionImage>,
pub category_stream: Option<SubStream>,
}
Fields§
§section_more_by: Option<SectionMetaData>
§warning: Vec<Warning>
§section_body_of_work: Option<SectionMetaData>
§section_core_content: Option<SectionMetaData>
§overlay_meta_data: Option<OverlayMetaData>
§badge_for_creator: Vec<Badge>
§info_badge: Vec<Badge>
§annotation_link: Option<AnnotationLink>
§section_cross_sell: Option<SectionMetaData>
§promoted_doc: Vec<PromotedDoc>
§offer_note: Option<String>
§privacy_policy_url: Option<String>
§suggestion_reasons: Option<SuggestionReasons>
§optimal_device_class_warning: Option<Warning>
§badge_container: Vec<BadgeContainer>
§section_suggest_for_rating: Option<SectionMetaData>
§section_purchase_cross_sell: Option<SectionMetaData>
§overflow_link: Vec<OverflowLink>
§attribution_html: Option<String>
§purchase_history_details: Option<PurchaseHistoryDetails>
§badge_for_legacy_rating: Option<Badge>
§voucher_info: Vec<VoucherInfo>
§section_featured_apps: Option<SectionMetaData>
§details_page_cluster: Vec<SectionMetaData>
§video_annotations: Option<VideoAnnotations>
§my_subscription_details: Option<MySubscriptionDetails>
§my_reward_details: Option<MyRewardDetails>
§feature_badge: Vec<Badge>
§snippet: Option<Snippet>
§downloads_label: Option<String>
§badge_for_rating: Option<Badge>
§category_info: Option<CategoryInfo>
§reasons: Option<EditorReason>
§top_chart_stream: Option<Stream>
§category_name: Option<String>
§chip: Vec<Chip>
§display_badge: Vec<Badge>
§live_stream_url: Option<String>
§promotion_stream_url: Option<String>
§overlay_meta_data_extra: Option<OverlayMetaData>
§section_image: Option<SectionImage>
§category_stream: Option<SubStream>
Implementations§
source§impl Annotations
impl Annotations
sourcepub fn offer_note(&self) -> &str
pub fn offer_note(&self) -> &str
Returns the value of offer_note
, or the default value if offer_note
is unset.
sourcepub fn privacy_policy_url(&self) -> &str
pub fn privacy_policy_url(&self) -> &str
Returns the value of privacy_policy_url
, or the default value if privacy_policy_url
is unset.
sourcepub fn attribution_html(&self) -> &str
pub fn attribution_html(&self) -> &str
Returns the value of attribution_html
, or the default value if attribution_html
is unset.
sourcepub fn downloads_label(&self) -> &str
pub fn downloads_label(&self) -> &str
Returns the value of downloads_label
, or the default value if downloads_label
is unset.
sourcepub fn category_name(&self) -> &str
pub fn category_name(&self) -> &str
Returns the value of category_name
, or the default value if category_name
is unset.
sourcepub fn live_stream_url(&self) -> &str
pub fn live_stream_url(&self) -> &str
Returns the value of live_stream_url
, or the default value if live_stream_url
is unset.
sourcepub fn promotion_stream_url(&self) -> &str
pub fn promotion_stream_url(&self) -> &str
Returns the value of promotion_stream_url
, or the default value if promotion_stream_url
is unset.
Trait Implementations§
source§impl Clone for Annotations
impl Clone for Annotations
source§fn clone(&self) -> Annotations
fn clone(&self) -> Annotations
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Annotations
impl Debug for Annotations
source§impl Default for Annotations
impl Default for Annotations
source§impl Message for Annotations
impl Message for Annotations
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 Annotations
impl PartialEq for Annotations
source§fn eq(&self, other: &Annotations) -> bool
fn eq(&self, other: &Annotations) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Annotations
Auto Trait Implementations§
impl Freeze for Annotations
impl RefUnwindSafe for Annotations
impl Send for Annotations
impl Sync for Annotations
impl Unpin for Annotations
impl UnwindSafe for Annotations
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