pub struct ActivityItem {
pub notification_id: NotificationId,
pub workspace_id: WorkspaceId,
pub workspace_window_id: Option<WorkspaceWindowId>,
pub pane_id: PaneId,
pub surface_id: SurfaceId,
pub kind: SignalKind,
pub state: AttentionState,
pub title: Option<String>,
pub subtitle: Option<String>,
pub message: String,
pub read_at: Option<OffsetDateTime>,
pub created_at: OffsetDateTime,
}Fields§
§notification_id: NotificationId§workspace_id: WorkspaceId§workspace_window_id: Option<WorkspaceWindowId>§pane_id: PaneId§surface_id: SurfaceId§kind: SignalKind§state: AttentionState§title: Option<String>§subtitle: Option<String>§message: String§read_at: Option<OffsetDateTime>§created_at: OffsetDateTimeTrait Implementations§
Source§impl Clone for ActivityItem
impl Clone for ActivityItem
Source§fn clone(&self) -> ActivityItem
fn clone(&self) -> ActivityItem
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 ActivityItem
impl Debug for ActivityItem
Source§impl<'de> Deserialize<'de> for ActivityItem
impl<'de> Deserialize<'de> for ActivityItem
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 ActivityItem
impl PartialEq for ActivityItem
Source§impl Serialize for ActivityItem
impl Serialize for ActivityItem
impl Eq for ActivityItem
impl StructuralPartialEq for ActivityItem
Auto Trait Implementations§
impl Freeze for ActivityItem
impl RefUnwindSafe for ActivityItem
impl Send for ActivityItem
impl Sync for ActivityItem
impl Unpin for ActivityItem
impl UnsafeUnpin for ActivityItem
impl UnwindSafe for ActivityItem
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<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.