pub struct RecentActivityItem {
pub kind: ActivityKind,
pub id: String,
pub title: String,
pub snippet: Option<String>,
pub timestamp_ms: u64,
pub badge: ActivityBadge,
}Expand description
A single entry in the home-page recent-activity feed.
Fields§
§kind: ActivityKind§id: String§title: String§snippet: Option<String>§timestamp_ms: u64§badge: ActivityBadgeTrait Implementations§
Source§impl Clone for RecentActivityItem
impl Clone for RecentActivityItem
Source§fn clone(&self) -> RecentActivityItem
fn clone(&self) -> RecentActivityItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecentActivityItem
impl Debug for RecentActivityItem
Source§impl<'de> Deserialize<'de> for RecentActivityItem
impl<'de> Deserialize<'de> for RecentActivityItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecentActivityItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecentActivityItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RecentActivityItem
impl PartialEq for RecentActivityItem
Source§fn eq(&self, other: &RecentActivityItem) -> bool
fn eq(&self, other: &RecentActivityItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RecentActivityItem
impl Serialize for RecentActivityItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RecentActivityItem
Auto Trait Implementations§
impl Freeze for RecentActivityItem
impl RefUnwindSafe for RecentActivityItem
impl Send for RecentActivityItem
impl Sync for RecentActivityItem
impl Unpin for RecentActivityItem
impl UnsafeUnpin for RecentActivityItem
impl UnwindSafe for RecentActivityItem
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