pub struct NoteUser {
pub id: UserId,
pub username: String,
pub first_name: String,
pub last_name: String,
}Expand description
The user who created the note.
Fields§
§id: UserId§username: String§first_name: String§last_name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for NoteUser
impl<'de> Deserialize<'de> for NoteUser
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 NoteUser
impl RefUnwindSafe for NoteUser
impl Send for NoteUser
impl Sync for NoteUser
impl Unpin for NoteUser
impl UnsafeUnpin for NoteUser
impl UnwindSafe for NoteUser
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