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