pub struct GetNotesResponse200DataInnerUser {
pub email: Option<String>,
pub icon_url: Option<String>,
pub is_you: Option<bool>,
pub name: Option<String>,
}
Expand description
GetNotesResponse200DataInnerUser : The user who created the note
Fields§
§email: Option<String>
The email of the note creator
icon_url: Option<String>
The URL of the note creator avatar picture
is_you: Option<bool>
Whether the note is created by you or not
name: Option<String>
The name of the note creator
Implementations§
Source§impl GetNotesResponse200DataInnerUser
impl GetNotesResponse200DataInnerUser
Sourcepub fn new() -> GetNotesResponse200DataInnerUser
pub fn new() -> GetNotesResponse200DataInnerUser
The user who created the note
Trait Implementations§
Source§impl Clone for GetNotesResponse200DataInnerUser
impl Clone for GetNotesResponse200DataInnerUser
Source§fn clone(&self) -> GetNotesResponse200DataInnerUser
fn clone(&self) -> GetNotesResponse200DataInnerUser
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<'de> Deserialize<'de> for GetNotesResponse200DataInnerUser
impl<'de> Deserialize<'de> for GetNotesResponse200DataInnerUser
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 GetNotesResponse200DataInnerUser
impl PartialEq for GetNotesResponse200DataInnerUser
Source§fn eq(&self, other: &GetNotesResponse200DataInnerUser) -> bool
fn eq(&self, other: &GetNotesResponse200DataInnerUser) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetNotesResponse200DataInnerUser
Auto Trait Implementations§
impl Freeze for GetNotesResponse200DataInnerUser
impl RefUnwindSafe for GetNotesResponse200DataInnerUser
impl Send for GetNotesResponse200DataInnerUser
impl Sync for GetNotesResponse200DataInnerUser
impl Unpin for GetNotesResponse200DataInnerUser
impl UnwindSafe for GetNotesResponse200DataInnerUser
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