pub struct GitHubRepository {Show 14 fields
pub full_name: String,
pub private: bool,
pub archived: bool,
pub fork: bool,
pub default_branch: String,
pub description: Option<String>,
pub html_url: String,
pub topics: Vec<String>,
pub stargazers_count: i64,
pub watchers_count: i64,
pub forks_count: i64,
pub open_issues_count: i64,
pub pushed_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
What GitHub says a repository IS.
private is the one the explorer draws: a lock on a row is the difference
between “this is ours” and “this is the world’s”, and it is the sort of
thing somebody should not have to open a browser to check before pasting.
Fields§
§full_name: String§private: bool§archived: bool§fork: bool§default_branch: String§description: Option<String>§html_url: String§topics: Vec<String>§stargazers_count: i64§watchers_count: i64§forks_count: i64§open_issues_count: i64§pushed_at: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for GitHubRepository
impl Clone for GitHubRepository
Source§impl Debug for GitHubRepository
impl Debug for GitHubRepository
Source§impl<'de> Deserialize<'de> for GitHubRepository
impl<'de> Deserialize<'de> for GitHubRepository
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 GitHubRepository
impl RefUnwindSafe for GitHubRepository
impl Send for GitHubRepository
impl Sync for GitHubRepository
impl Unpin for GitHubRepository
impl UnsafeUnpin for GitHubRepository
impl UnwindSafe for GitHubRepository
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