pub struct UserDisplay {
pub id: u64,
pub display_name: Option<String>,
pub avatar_image_url: Option<String>,
pub html_url: Option<String>,
}Expand description
A user display stub (id + name only) used in nested contexts.
Fields§
§id: u64§display_name: Option<String>§avatar_image_url: Option<String>§html_url: Option<String>Trait Implementations§
Source§impl Clone for UserDisplay
impl Clone for UserDisplay
Source§fn clone(&self) -> UserDisplay
fn clone(&self) -> UserDisplay
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserDisplay
impl Debug for UserDisplay
Source§impl<'de> Deserialize<'de> for UserDisplay
impl<'de> Deserialize<'de> for UserDisplay
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 UserDisplay
impl RefUnwindSafe for UserDisplay
impl Send for UserDisplay
impl Sync for UserDisplay
impl Unpin for UserDisplay
impl UnsafeUnpin for UserDisplay
impl UnwindSafe for UserDisplay
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