[][src]Struct gpapi::protos::googleplay::DocV2

pub struct DocV2 {
    pub docid: SingularField<String>,
    pub backendDocid: SingularField<String>,
    pub docType: Option<i32>,
    pub backendId: Option<i32>,
    pub title: SingularField<String>,
    pub creator: SingularField<String>,
    pub descriptionHtml: SingularField<String>,
    pub offer: RepeatedField<Offer>,
    pub availability: SingularPtrField<Availability>,
    pub image: RepeatedField<Image>,
    pub child: RepeatedField<DocV2>,
    pub containerMetadata: SingularPtrField<ContainerMetadata>,
    pub details: SingularPtrField<DocumentDetails>,
    pub aggregateRating: SingularPtrField<AggregateRating>,
    pub annotations: SingularPtrField<Annotations>,
    pub detailsUrl: SingularField<String>,
    pub shareUrl: SingularField<String>,
    pub reviewsUrl: SingularField<String>,
    pub backendUrl: SingularField<String>,
    pub purchaseDetailsUrl: SingularField<String>,
    pub detailsReusable: Option<bool>,
    pub subtitle: SingularField<String>,
    pub translatedDescriptionHtml: SingularField<String>,
    pub serverLogsCookie: SingularField<Vec<u8>>,
    pub productDetails: SingularPtrField<ProductDetails>,
    pub mature: Option<bool>,
    pub promotionalDescription: SingularField<String>,
    pub availabileForPreregistration: Option<bool>,
    pub tip: RepeatedField<ReviewTip>,
    pub snippetsUrl: SingularField<String>,
    pub forceShareability: Option<bool>,
    pub useWishlistAsPrimaryAction: Option<bool>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

docid: SingularField<String>backendDocid: SingularField<String>docType: Option<i32>backendId: Option<i32>title: SingularField<String>creator: SingularField<String>descriptionHtml: SingularField<String>offer: RepeatedField<Offer>availability: SingularPtrField<Availability>image: RepeatedField<Image>child: RepeatedField<DocV2>containerMetadata: SingularPtrField<ContainerMetadata>details: SingularPtrField<DocumentDetails>aggregateRating: SingularPtrField<AggregateRating>annotations: SingularPtrField<Annotations>detailsUrl: SingularField<String>shareUrl: SingularField<String>reviewsUrl: SingularField<String>backendUrl: SingularField<String>purchaseDetailsUrl: SingularField<String>detailsReusable: Option<bool>subtitle: SingularField<String>translatedDescriptionHtml: SingularField<String>serverLogsCookie: SingularField<Vec<u8>>productDetails: SingularPtrField<ProductDetails>mature: Option<bool>promotionalDescription: SingularField<String>availabileForPreregistration: Option<bool>tip: RepeatedField<ReviewTip>snippetsUrl: SingularField<String>forceShareability: Option<bool>useWishlistAsPrimaryAction: Option<bool>unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl DocV2[src]

pub fn new() -> DocV2[src]

pub fn get_docid(&self) -> &str[src]

pub fn get_backendDocid(&self) -> &str[src]

pub fn get_docType(&self) -> i32[src]

pub fn get_backendId(&self) -> i32[src]

pub fn get_title(&self) -> &str[src]

pub fn get_creator(&self) -> &str[src]

pub fn get_descriptionHtml(&self) -> &str[src]

pub fn get_detailsUrl(&self) -> &str[src]

pub fn get_shareUrl(&self) -> &str[src]

pub fn get_reviewsUrl(&self) -> &str[src]

pub fn get_backendUrl(&self) -> &str[src]

pub fn get_purchaseDetailsUrl(&self) -> &str[src]

pub fn get_detailsReusable(&self) -> bool[src]

pub fn get_subtitle(&self) -> &str[src]

pub fn get_translatedDescriptionHtml(&self) -> &str[src]

pub fn get_serverLogsCookie(&self) -> &[u8][src]

pub fn get_mature(&self) -> bool[src]

pub fn get_promotionalDescription(&self) -> &str[src]

pub fn get_availabileForPreregistration(&self) -> bool[src]

pub fn get_snippetsUrl(&self) -> &str[src]

pub fn get_forceShareability(&self) -> bool[src]

pub fn get_useWishlistAsPrimaryAction(&self) -> bool[src]

Trait Implementations

impl Default for DocV2[src]

impl PartialEq<DocV2> for DocV2[src]

impl Clone for DocV2[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DocV2[src]

impl Message for DocV2[src]

fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>

Write the message to the stream. Read more

fn write_length_delimited_to(
    &self,
    os: &mut CodedOutputStream
) -> Result<(), ProtobufError>

Write the message to the stream prepending the message with message length encoded as varint. Read more

fn write_length_delimited_to_vec(
    &self,
    vec: &mut Vec<u8>
) -> Result<(), ProtobufError>

Write the message to the vec, prepend the message with message length encoded as varint. Read more

fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>

Update this message object with fields read from given stream.

fn check_initialized(&self) -> Result<(), ProtobufError>

Check if all required fields of this object are initialized.

fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>

Write the message to the writer.

fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>

Write the message to bytes vec.

fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

Write the message to bytes vec.

fn write_length_delimited_to_writer(
    &self,
    w: &mut dyn Write
) -> Result<(), ProtobufError>

Write the message to the writer, prepend the message with message length encoded as varint. Read more

fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more

impl Clear for DocV2[src]

impl ProtobufValue for DocV2[src]

impl Serialize for DocV2[src]

impl<'de> Deserialize<'de> for DocV2[src]

Auto Trait Implementations

impl Send for DocV2

impl Sync for DocV2

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T