pub struct GithubProfile {
pub id: String,
pub login: String,
pub name: Option<String>,
pub avatar_url: Option<String>,
}Fields§
§id: String§login: String§name: Option<String>§avatar_url: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for GithubProfile
impl Clone for GithubProfile
Source§fn clone(&self) -> GithubProfile
fn clone(&self) -> GithubProfile
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 GithubProfile
impl Debug for GithubProfile
Source§impl<'de> Deserialize<'de> for GithubProfile
impl<'de> Deserialize<'de> for GithubProfile
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 GithubProfile
impl PartialEq for GithubProfile
Source§fn eq(&self, other: &GithubProfile) -> bool
fn eq(&self, other: &GithubProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GithubProfile
impl Serialize for GithubProfile
impl Eq for GithubProfile
impl StructuralPartialEq for GithubProfile
Auto Trait Implementations§
impl Freeze for GithubProfile
impl RefUnwindSafe for GithubProfile
impl Send for GithubProfile
impl Sync for GithubProfile
impl Unpin for GithubProfile
impl UnsafeUnpin for GithubProfile
impl UnwindSafe for GithubProfile
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