pub struct TileModel {
pub id: TileId,
pub config: TileConfig,
pub properties: JsonObject,
pub folder_id: FolderId,
pub plugin_id: PluginId,
pub action_id: ActionId,
pub position: TilePosition,
}
Fields§
§id: TileId
Unique ID of the tile
config: TileConfig
Configuration for the tile and how it appears in the UI
properties: JsonObject
Properties / settings defined on this specific tile
folder_id: FolderId
ID of the folder this tile is within
plugin_id: PluginId
ID of the plugin the action_id
is apart of
action_id: ActionId
ID of the action within the plugin to execute
position: TilePosition
Position of the tile
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TileModel
impl<'de> Deserialize<'de> for TileModel
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 TileModel
impl RefUnwindSafe for TileModel
impl Send for TileModel
impl Sync for TileModel
impl Unpin for TileModel
impl UnwindSafe for TileModel
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