pub struct GitHubRepository {Show 21 fields
pub id: u64,
pub name: String,
pub full_name: String,
pub owner: GitHubUser,
pub description: Option<String>,
pub private: bool,
pub fork: bool,
pub default_branch: String,
pub language: Option<String>,
pub stargazers_count: u32,
pub forks_count: u32,
pub open_issues_count: u32,
pub watchers_count: u32,
pub html_url: String,
pub clone_url: String,
pub ssh_url: String,
pub created_at: String,
pub updated_at: String,
pub pushed_at: String,
pub topics: Vec<String>,
pub license: Option<GitHubLicense>,
}Fields§
§id: u64§name: String§full_name: String§owner: GitHubUser§description: Option<String>§private: bool§fork: bool§default_branch: String§language: Option<String>§stargazers_count: u32§forks_count: u32§open_issues_count: u32§watchers_count: u32§html_url: String§clone_url: String§ssh_url: String§created_at: String§updated_at: String§pushed_at: String§topics: Vec<String>§license: Option<GitHubLicense>Trait Implementations§
Source§impl Clone for GitHubRepository
impl Clone for GitHubRepository
Source§fn clone(&self) -> GitHubRepository
fn clone(&self) -> GitHubRepository
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromResponse for Twhere
T: DeserializeOwned,
impl<T> FromResponse for Twhere
T: DeserializeOwned,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more