Struct googleplay_protobuf::googleplay::Image
source · pub struct Image {Show 17 fields
pub image_type: Option<i32>,
pub dimension: Option<Dimension>,
pub image_url: Option<String>,
pub alt_text_localized: Option<String>,
pub secure_url: Option<String>,
pub position_in_sequence: Option<i32>,
pub supports_fife_url_options: Option<bool>,
pub citation: Option<Citation>,
pub duration_seconds: Option<i32>,
pub fill_color_rgb: Option<String>,
pub autogen: Option<bool>,
pub attribution: Option<Attribution>,
pub background_color_rgb: Option<String>,
pub palette: Option<ImagePalette>,
pub device_class: Option<i32>,
pub supports_fife_monogram_option: Option<bool>,
pub image_url_alt: Option<String>,
}
Fields§
§image_type: Option<i32>
§dimension: Option<Dimension>
§image_url: Option<String>
§alt_text_localized: Option<String>
§secure_url: Option<String>
§position_in_sequence: Option<i32>
§supports_fife_url_options: Option<bool>
§citation: Option<Citation>
§duration_seconds: Option<i32>
§fill_color_rgb: Option<String>
§autogen: Option<bool>
§attribution: Option<Attribution>
§background_color_rgb: Option<String>
§palette: Option<ImagePalette>
§device_class: Option<i32>
§supports_fife_monogram_option: Option<bool>
§image_url_alt: Option<String>
Implementations§
source§impl Image
impl Image
sourcepub fn image_type(&self) -> i32
pub fn image_type(&self) -> i32
Returns the value of image_type
, or the default value if image_type
is unset.
sourcepub fn image_url(&self) -> &str
pub fn image_url(&self) -> &str
Returns the value of image_url
, or the default value if image_url
is unset.
sourcepub fn alt_text_localized(&self) -> &str
pub fn alt_text_localized(&self) -> &str
Returns the value of alt_text_localized
, or the default value if alt_text_localized
is unset.
sourcepub fn secure_url(&self) -> &str
pub fn secure_url(&self) -> &str
Returns the value of secure_url
, or the default value if secure_url
is unset.
sourcepub fn position_in_sequence(&self) -> i32
pub fn position_in_sequence(&self) -> i32
Returns the value of position_in_sequence
, or the default value if position_in_sequence
is unset.
sourcepub fn supports_fife_url_options(&self) -> bool
pub fn supports_fife_url_options(&self) -> bool
Returns the value of supports_fife_url_options
, or the default value if supports_fife_url_options
is unset.
sourcepub fn duration_seconds(&self) -> i32
pub fn duration_seconds(&self) -> i32
Returns the value of duration_seconds
, or the default value if duration_seconds
is unset.
sourcepub fn fill_color_rgb(&self) -> &str
pub fn fill_color_rgb(&self) -> &str
Returns the value of fill_color_rgb
, or the default value if fill_color_rgb
is unset.
sourcepub fn autogen(&self) -> bool
pub fn autogen(&self) -> bool
Returns the value of autogen
, or the default value if autogen
is unset.
sourcepub fn background_color_rgb(&self) -> &str
pub fn background_color_rgb(&self) -> &str
Returns the value of background_color_rgb
, or the default value if background_color_rgb
is unset.
sourcepub fn device_class(&self) -> i32
pub fn device_class(&self) -> i32
Returns the value of device_class
, or the default value if device_class
is unset.
sourcepub fn supports_fife_monogram_option(&self) -> bool
pub fn supports_fife_monogram_option(&self) -> bool
Returns the value of supports_fife_monogram_option
, or the default value if supports_fife_monogram_option
is unset.
sourcepub fn image_url_alt(&self) -> &str
pub fn image_url_alt(&self) -> &str
Returns the value of image_url_alt
, or the default value if image_url_alt
is unset.
Trait Implementations§
source§impl Message for Image
impl Message for Image
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
.