pub struct NoteReaction {
pub id: Id<NoteReaction>,
pub created_at: DateTime<Utc>,
pub user: User,
pub type_: Reaction,
}Fields§
§id: Id<NoteReaction>§created_at: DateTime<Utc>§user: User§type_: ReactionTrait Implementations§
Source§impl Clone for NoteReaction
impl Clone for NoteReaction
Source§fn clone(&self) -> NoteReaction
fn clone(&self) -> NoteReaction
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 NoteReaction
impl Debug for NoteReaction
Source§impl<'de> Deserialize<'de> for NoteReaction
impl<'de> Deserialize<'de> for NoteReaction
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 Entity for NoteReaction
impl Entity for NoteReaction
Source§fn id(&self) -> Id<NoteReaction>
fn id(&self) -> Id<NoteReaction>
Gets the ID.
Source§impl PaginationItem for NoteReaction
impl PaginationItem for NoteReaction
Source§type Id = Id<NoteReaction>
type Id = Id<NoteReaction>
The ID type.
Source§fn item_id(&self) -> Id<NoteReaction>
fn item_id(&self) -> Id<NoteReaction>
Extracts an ID from the item.
Auto Trait Implementations§
impl Freeze for NoteReaction
impl RefUnwindSafe for NoteReaction
impl Send for NoteReaction
impl Sync for NoteReaction
impl Unpin for NoteReaction
impl UnwindSafe for NoteReaction
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