Struct lemmy_db_schema::source::person_mention::PersonMention
source · pub struct PersonMention {
pub id: PersonMentionId,
pub recipient_id: PersonId,
pub comment_id: CommentId,
pub read: bool,
pub published: DateTime<Utc>,
}
Expand description
A person mention.
Fields§
§id: PersonMentionId
§recipient_id: PersonId
§comment_id: CommentId
§read: bool
§published: DateTime<Utc>
Trait Implementations§
source§impl Clone for PersonMention
impl Clone for PersonMention
source§fn clone(&self) -> PersonMention
fn clone(&self) -> PersonMention
Returns a copy 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 PersonMention
impl Debug for PersonMention
source§impl<'de> Deserialize<'de> for PersonMention
impl<'de> Deserialize<'de> for PersonMention
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 PersonMention
impl PartialEq for PersonMention
source§fn eq(&self, other: &PersonMention) -> bool
fn eq(&self, other: &PersonMention) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PersonMention
impl Serialize for PersonMention
impl Eq for PersonMention
impl StructuralEq for PersonMention
impl StructuralPartialEq for PersonMention
Auto Trait Implementations§
impl RefUnwindSafe for PersonMention
impl Send for PersonMention
impl Sync for PersonMention
impl Unpin for PersonMention
impl UnwindSafe for PersonMention
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