pub struct SnapshotImage {
pub height: Option<i32>,
pub kind: Option<String>,
pub mime_type: Option<String>,
pub url: Option<String>,
pub width: Option<i32>,
}Expand description
An image of a snapshot.
This type is not used in any activity, and only used as part of another schema.
Fields§
§height: Option<i32>The height of the image.
kind: Option<String>Uniquely identifies the type of this resource. Value is always the fixed string games#snapshotImage.
mime_type: Option<String>The MIME type of the image.
url: Option<String>The URL of the image. This URL may be invalidated at any time and should not be cached.
width: Option<i32>The width of the image.
Trait Implementations§
Source§impl Clone for SnapshotImage
impl Clone for SnapshotImage
Source§fn clone(&self) -> SnapshotImage
fn clone(&self) -> SnapshotImage
Returns a duplicate 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 SnapshotImage
impl Debug for SnapshotImage
Source§impl Default for SnapshotImage
impl Default for SnapshotImage
Source§fn default() -> SnapshotImage
fn default() -> SnapshotImage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapshotImage
impl<'de> Deserialize<'de> for SnapshotImage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SnapshotImage
impl Serialize for SnapshotImage
impl Part for SnapshotImage
Auto Trait Implementations§
impl Freeze for SnapshotImage
impl RefUnwindSafe for SnapshotImage
impl Send for SnapshotImage
impl Sync for SnapshotImage
impl Unpin for SnapshotImage
impl UnwindSafe for SnapshotImage
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