pub struct PluginIcon {
pub mime_type: Option<String>,
pub sizes: Option<Vec<String>>,
pub src: String,
pub theme: Option<String>,
}Expand description
Icon asset for a plugin entrypoint or quick action.
Fields§
§mime_type: Option<String>§sizes: Option<Vec<String>>§src: String§theme: Option<String>Trait Implementations§
Source§impl Clone for PluginIcon
impl Clone for PluginIcon
Source§impl Debug for PluginIcon
impl Debug for PluginIcon
Source§impl Default for PluginIcon
impl Default for PluginIcon
Source§impl<'de> Deserialize<'de> for PluginIcon
impl<'de> Deserialize<'de> for PluginIcon
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 PartialEq for PluginIcon
impl PartialEq for PluginIcon
Source§impl Serialize for PluginIcon
impl Serialize for PluginIcon
impl StructuralPartialEq for PluginIcon
Auto Trait Implementations§
impl Freeze for PluginIcon
impl RefUnwindSafe for PluginIcon
impl Send for PluginIcon
impl Sync for PluginIcon
impl Unpin for PluginIcon
impl UnsafeUnpin for PluginIcon
impl UnwindSafe for PluginIcon
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