pub struct GetGithubUser200ResponseActivity {
pub scope: Option<String>,
pub organization: Option<String>,
pub from: Option<String>,
pub to: Option<String>,
pub total_contributions: Option<i32>,
pub total_commit_contributions: Option<i32>,
pub total_issue_contributions: Option<i32>,
pub total_pull_request_contributions: Option<i32>,
pub total_pull_request_review_contributions: Option<i32>,
pub contribution_calendar: Option<Box<GetGithubUser200ResponseActivityContributionCalendar>>,
pub timeline: Option<Vec<GetGithubUser200ResponseActivityTimelineInner>>,
}Expand description
GetGithubUser200ResponseActivity : 贡献活动数据(需开启 activity=true)
Fields§
§scope: Option<String>活动统计范围,常见值为 all 或 organization。
organization: Option<String>按组织过滤时对应的组织登录名。
from: Option<String>统计开始日期。
to: Option<String>统计结束日期。
total_contributions: Option<i32>统计范围内的总贡献数。
total_commit_contributions: Option<i32>Commit 贡献总数。
total_issue_contributions: Option<i32>Issue 贡献总数。
total_pull_request_contributions: Option<i32>Pull Request 贡献总数。
total_pull_request_review_contributions: Option<i32>Pull Request Review 贡献总数。
contribution_calendar: Option<Box<GetGithubUser200ResponseActivityContributionCalendar>>§timeline: Option<Vec<GetGithubUser200ResponseActivityTimelineInner>>按月份聚合后的贡献时间线。
Implementations§
Source§impl GetGithubUser200ResponseActivity
impl GetGithubUser200ResponseActivity
Sourcepub fn new() -> GetGithubUser200ResponseActivity
pub fn new() -> GetGithubUser200ResponseActivity
贡献活动数据(需开启 activity=true)
Trait Implementations§
Source§impl Clone for GetGithubUser200ResponseActivity
impl Clone for GetGithubUser200ResponseActivity
Source§fn clone(&self) -> GetGithubUser200ResponseActivity
fn clone(&self) -> GetGithubUser200ResponseActivity
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 Default for GetGithubUser200ResponseActivity
impl Default for GetGithubUser200ResponseActivity
Source§fn default() -> GetGithubUser200ResponseActivity
fn default() -> GetGithubUser200ResponseActivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetGithubUser200ResponseActivity
impl<'de> Deserialize<'de> for GetGithubUser200ResponseActivity
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 GetGithubUser200ResponseActivity
impl PartialEq for GetGithubUser200ResponseActivity
Source§fn eq(&self, other: &GetGithubUser200ResponseActivity) -> bool
fn eq(&self, other: &GetGithubUser200ResponseActivity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetGithubUser200ResponseActivity
Auto Trait Implementations§
impl Freeze for GetGithubUser200ResponseActivity
impl RefUnwindSafe for GetGithubUser200ResponseActivity
impl Send for GetGithubUser200ResponseActivity
impl Sync for GetGithubUser200ResponseActivity
impl Unpin for GetGithubUser200ResponseActivity
impl UnsafeUnpin for GetGithubUser200ResponseActivity
impl UnwindSafe for GetGithubUser200ResponseActivity
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