pub struct GetGithubRepo200Response {Show 24 fields
pub full_name: Option<String>,
pub description: Option<String>,
pub homepage: Option<String>,
pub default_branch: Option<String>,
pub primary_branch: Option<String>,
pub default_branch_sha: Option<String>,
pub visibility: Option<String>,
pub archived: Option<bool>,
pub disabled: Option<bool>,
pub fork: Option<bool>,
pub language: Option<String>,
pub topics: Option<Vec<String>>,
pub license: Option<String>,
pub stargazers: Option<i32>,
pub forks: Option<i32>,
pub open_issues: Option<i32>,
pub watchers: Option<i32>,
pub pushed_at: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub languages: Option<HashMap<String, i32>>,
pub collaborators: Option<Option<Vec<GetGithubRepo200ResponseCollaboratorsInner>>>,
pub maintainers: Option<Vec<GetGithubRepo200ResponseCollaboratorsInner>>,
pub latest_release: Option<Option<Box<GetGithubRepo200ResponseLatestRelease>>>,
}Fields§
§full_name: Option<String>仓库完整名称。
description: Option<String>仓库简介。
homepage: Option<String>仓库主页链接。
default_branch: Option<String>默认分支名称。
primary_branch: Option<String>主要分支名称(通常与默认分支一致)。
default_branch_sha: Option<String>默认分支最新提交的 SHA 哈希。
visibility: Option<String>仓库可见性,常见值为 public 或 private。
archived: Option<bool>仓库是否已归档。
disabled: Option<bool>仓库是否被禁用。
fork: Option<bool>是否为 Fork 仓库。
language: Option<String>主要语言。
topics: Option<Vec<String>>话题标签列表。
license: Option<String>开源许可证名称。
stargazers: Option<i32>Star 数。
forks: Option<i32>Fork 数。
open_issues: Option<i32>开放 Issue 数。
watchers: Option<i32>关注者数量(watchers/subscribers)。
pushed_at: Option<String>最后推送时间(ISO 8601)。
created_at: Option<String>创建时间(ISO 8601)。
updated_at: Option<String>更新时间(ISO 8601)。
languages: Option<HashMap<String, i32>>语言统计(键为语言名,值为代码字节数)。
collaborators: Option<Option<Vec<GetGithubRepo200ResponseCollaboratorsInner>>>协作者列表。受权限限制时可能为 null 或空数组。
maintainers: Option<Vec<GetGithubRepo200ResponseCollaboratorsInner>>维护者列表(根据默认分支近期提交推断)。
latest_release: Option<Option<Box<GetGithubRepo200ResponseLatestRelease>>>Implementations§
Source§impl GetGithubRepo200Response
impl GetGithubRepo200Response
pub fn new() -> GetGithubRepo200Response
Trait Implementations§
Source§impl Clone for GetGithubRepo200Response
impl Clone for GetGithubRepo200Response
Source§fn clone(&self) -> GetGithubRepo200Response
fn clone(&self) -> GetGithubRepo200Response
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 GetGithubRepo200Response
impl Debug for GetGithubRepo200Response
Source§impl Default for GetGithubRepo200Response
impl Default for GetGithubRepo200Response
Source§fn default() -> GetGithubRepo200Response
fn default() -> GetGithubRepo200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetGithubRepo200Response
impl<'de> Deserialize<'de> for GetGithubRepo200Response
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 GetGithubRepo200Response
impl PartialEq for GetGithubRepo200Response
Source§impl Serialize for GetGithubRepo200Response
impl Serialize for GetGithubRepo200Response
impl StructuralPartialEq for GetGithubRepo200Response
Auto Trait Implementations§
impl Freeze for GetGithubRepo200Response
impl RefUnwindSafe for GetGithubRepo200Response
impl Send for GetGithubRepo200Response
impl Sync for GetGithubRepo200Response
impl Unpin for GetGithubRepo200Response
impl UnsafeUnpin for GetGithubRepo200Response
impl UnwindSafe for GetGithubRepo200Response
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