pub struct GetGithubUser200Response {Show 19 fields
pub login: Option<String>,
pub name: Option<String>,
pub bio: Option<String>,
pub company: Option<String>,
pub location: Option<String>,
pub blog: Option<String>,
pub twitter_username: Option<String>,
pub email: Option<String>,
pub html_url: Option<String>,
pub avatar_url: Option<String>,
pub type: Option<String>,
pub public_repos: Option<i32>,
pub public_gists: Option<i32>,
pub followers: Option<i32>,
pub following: Option<i32>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub organizations: Option<Vec<GetGithubUser200ResponseOrganizationsInner>>,
pub activity: Option<Box<GetGithubUser200ResponseActivity>>,
}Fields§
§login: Option<String>GitHub 登录名。
name: Option<String>用户公开显示的名称。
bio: Option<String>用户个人简介。
company: Option<String>用户填写的公司或组织信息。
location: Option<String>用户公开展示的地理位置。
blog: Option<String>用户填写的网站或博客地址。
twitter_username: Option<String>用户绑定的 X(Twitter)用户名。
email: Option<String>用户公开可见的邮箱地址。
html_url: Option<String>GitHub 个人主页链接。
avatar_url: Option<String>用户头像图片链接。
type: Option<String>账号类型,常见值为 User 或 Organization。
public_repos: Option<i32>公开仓库数量。
public_gists: Option<i32>公开 Gist 数量。
followers: Option<i32>关注该用户的人数。
following: Option<i32>该用户正在关注的人数。
created_at: Option<String>GitHub 账号创建时间(ISO 8601)。
updated_at: Option<String>用户资料最近更新时间(ISO 8601)。
organizations: Option<Vec<GetGithubUser200ResponseOrganizationsInner>>用户公开加入的组织列表
activity: Option<Box<GetGithubUser200ResponseActivity>>Implementations§
Source§impl GetGithubUser200Response
impl GetGithubUser200Response
pub fn new() -> GetGithubUser200Response
Trait Implementations§
Source§impl Clone for GetGithubUser200Response
impl Clone for GetGithubUser200Response
Source§fn clone(&self) -> GetGithubUser200Response
fn clone(&self) -> GetGithubUser200Response
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 Debug for GetGithubUser200Response
impl Debug for GetGithubUser200Response
Source§impl Default for GetGithubUser200Response
impl Default for GetGithubUser200Response
Source§fn default() -> GetGithubUser200Response
fn default() -> GetGithubUser200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetGithubUser200Response
impl<'de> Deserialize<'de> for GetGithubUser200Response
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 GetGithubUser200Response
impl PartialEq for GetGithubUser200Response
Source§impl Serialize for GetGithubUser200Response
impl Serialize for GetGithubUser200Response
impl StructuralPartialEq for GetGithubUser200Response
Auto Trait Implementations§
impl Freeze for GetGithubUser200Response
impl RefUnwindSafe for GetGithubUser200Response
impl Send for GetGithubUser200Response
impl Sync for GetGithubUser200Response
impl Unpin for GetGithubUser200Response
impl UnsafeUnpin for GetGithubUser200Response
impl UnwindSafe for GetGithubUser200Response
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