pub struct AppIcon {
pub size: Option<i64>,
pub category: Option<String>,
pub icon_url: Option<String>,
}Expand description
An icon for an app.
Fields§
§size: Option<i64>Size of the icon.
Represented as the maximum of the width and height.
category: Option<String>Category of the icon.
Allowed values are:
application: The icon for the application.document: The icon for a file associated with the app.documentShared: The icon for a shared file associated with the app.
icon_url: Option<String>URL for the icon.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppIcon
impl<'de> Deserialize<'de> for AppIcon
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
Auto Trait Implementations§
impl Freeze for AppIcon
impl RefUnwindSafe for AppIcon
impl Send for AppIcon
impl Sync for AppIcon
impl Unpin for AppIcon
impl UnwindSafe for AppIcon
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