pub struct UserNote {
pub id: String,
pub title: String,
pub likes: u64,
pub note_type: String,
pub cover_image: Option<String>,
pub published_at: String,
}Fields§
§id: String§title: String§likes: u64§note_type: String§cover_image: Option<String>§published_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for UserNote
impl<'de> Deserialize<'de> for UserNote
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 UserNote
impl RefUnwindSafe for UserNote
impl Send for UserNote
impl Sync for UserNote
impl Unpin for UserNote
impl UnsafeUnpin for UserNote
impl UnwindSafe for UserNote
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