pub struct ActiveWidget {
pub widget_id: String,
pub instance: Option<String>,
pub size: Option<String>,
pub last_seen_ms: Option<u64>,
}Expand description
A widget currently placed on a home screen, desktop or board.
Fields§
§widget_id: StringLogical widget id (WidgetKit kind, widgetId of the config).
instance: Option<String>Placement id: Android appWidgetId, Apple Edit Widget choice, window label,
Widgets Board id. None when the placement has no own identity.
size: Option<String>small | medium | large when known.
last_seen_ms: Option<u64>Unix ms of the last render, when the list comes from render receipts.
Trait Implementations§
Source§impl Clone for ActiveWidget
impl Clone for ActiveWidget
Source§impl Debug for ActiveWidget
impl Debug for ActiveWidget
Source§impl<'de> Deserialize<'de> for ActiveWidget
impl<'de> Deserialize<'de> for ActiveWidget
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
impl Eq for ActiveWidget
Source§impl PartialEq for ActiveWidget
impl PartialEq for ActiveWidget
Source§impl Serialize for ActiveWidget
impl Serialize for ActiveWidget
impl StructuralPartialEq for ActiveWidget
Auto Trait Implementations§
impl Forget for ActiveWidget
impl Freeze for ActiveWidget
impl Move for ActiveWidget
impl RefUnwindSafe for ActiveWidget
impl Send for ActiveWidget
impl Sync for ActiveWidget
impl Unpin for ActiveWidget
impl UnsafeUnpin for ActiveWidget
impl UnwindSafe for ActiveWidget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.