Struct google_games1::ImageAsset [−][src]
pub struct ImageAsset { pub url: Option<String>, pub width: Option<i32>, pub kind: Option<String>, pub name: Option<String>, pub height: Option<i32>, }
This is a JSON template for an image asset object.
This type is not used in any activity, and only used as part of another schema.
Fields
url: Option<String>
The URL of the asset.
width: Option<i32>
The width of the asset.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#imageAsset.
name: Option<String>
The name of the asset.
height: Option<i32>
The height of the asset.
Trait Implementations
impl Default for ImageAsset
[src]
impl Default for ImageAsset
fn default() -> ImageAsset
[src]
fn default() -> ImageAsset
Returns the "default value" for a type. Read more
impl Clone for ImageAsset
[src]
impl Clone for ImageAsset
fn clone(&self) -> ImageAsset
[src]
fn clone(&self) -> ImageAsset
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ImageAsset
[src]
impl Debug for ImageAsset
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for ImageAsset
[src]
impl Part for ImageAsset
Auto Trait Implementations
impl Send for ImageAsset
impl Send for ImageAsset
impl Sync for ImageAsset
impl Sync for ImageAsset