pub struct RepositorySummary {Show 15 fields
pub node_id: String,
pub name: String,
pub name_with_owner: String,
pub description: Option<String>,
pub url: String,
pub is_private: bool,
pub is_fork: bool,
pub is_archived: bool,
pub stargazer_count: u32,
pub fork_count: u32,
pub pushed_at: Option<DateTime<Utc>>,
pub updated_at: DateTime<Utc>,
pub primary_language: Option<Language>,
pub open_issue_count: u32,
pub open_pull_request_count: u32,
}Expand description
Lightweight inventory metadata, including separate counts of open issues and PRs.
Fields§
§node_id: String§name: String§name_with_owner: String§description: Option<String>§url: String§is_private: bool§is_fork: bool§is_archived: bool§stargazer_count: u32§fork_count: u32§pushed_at: Option<DateTime<Utc>>§updated_at: DateTime<Utc>§primary_language: Option<Language>§open_issue_count: u32§open_pull_request_count: u32Implementations§
Source§impl RepositorySummary
impl RepositorySummary
pub fn coordinates(&self) -> Result<RepositoryCoordinates>
Trait Implementations§
Source§impl Clone for RepositorySummary
impl Clone for RepositorySummary
Source§fn clone(&self) -> RepositorySummary
fn clone(&self) -> RepositorySummary
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 RepositorySummary
impl Debug for RepositorySummary
Source§impl<'de> Deserialize<'de> for RepositorySummary
impl<'de> Deserialize<'de> for RepositorySummary
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 RepositorySummary
impl RefUnwindSafe for RepositorySummary
impl Send for RepositorySummary
impl Sync for RepositorySummary
impl Unpin for RepositorySummary
impl UnsafeUnpin for RepositorySummary
impl UnwindSafe for RepositorySummary
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