Struct notion_wasi::models::users::UserCommon
source · pub struct UserCommon {
pub id: UserId,
pub name: Option<String>,
pub avatar_url: Option<String>,
}Fields§
§id: UserId§name: Option<String>§avatar_url: Option<String>Trait Implementations§
source§impl Clone for UserCommon
impl Clone for UserCommon
source§fn clone(&self) -> UserCommon
fn clone(&self) -> UserCommon
Returns a copy 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 UserCommon
impl Debug for UserCommon
source§impl<'de> Deserialize<'de> for UserCommon
impl<'de> Deserialize<'de> for UserCommon
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<UserCommon> for UserCommon
impl PartialEq<UserCommon> for UserCommon
source§fn eq(&self, other: &UserCommon) -> bool
fn eq(&self, other: &UserCommon) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UserCommon
impl Serialize for UserCommon
impl Eq for UserCommon
impl StructuralEq for UserCommon
impl StructuralPartialEq for UserCommon
Auto Trait Implementations§
impl RefUnwindSafe for UserCommon
impl Send for UserCommon
impl Sync for UserCommon
impl Unpin for UserCommon
impl UnwindSafe for UserCommon
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.