pub struct ThreadLikeNotification {
pub id: u32,
pub user_id: Option<u32>,
pub activity_type: Option<NotificationType>,
pub thread_id: Option<u32>,
pub context: Option<String>,
pub created_at: Option<i32>,
pub thread: Option<Thread>,
pub comment: Option<ThreadComment>,
pub user: Option<User>,
}Fields§
§id: u32§user_id: Option<u32>§activity_type: Option<NotificationType>§thread_id: Option<u32>§context: Option<String>§created_at: Option<i32>§thread: Option<Thread>§comment: Option<ThreadComment>The comment that was liked, when the notification is about one.
user: Option<User>Trait Implementations§
Source§impl Clone for ThreadLikeNotification
impl Clone for ThreadLikeNotification
Source§impl Debug for ThreadLikeNotification
impl Debug for ThreadLikeNotification
Source§impl<'de> Deserialize<'de> for ThreadLikeNotification
impl<'de> Deserialize<'de> for ThreadLikeNotification
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 ThreadLikeNotification
impl RefUnwindSafe for ThreadLikeNotification
impl Send for ThreadLikeNotification
impl Sync for ThreadLikeNotification
impl Unpin for ThreadLikeNotification
impl UnsafeUnpin for ThreadLikeNotification
impl UnwindSafe for ThreadLikeNotification
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