pub struct GitHubSearchResult {
pub full_name: String,
pub url: String,
pub description: String,
pub language: String,
pub stars: u64,
pub forks: u64,
pub open_issues: u64,
pub updated_at: String,
pub topics: Vec<String>,
pub license: String,
}Expand description
A single GitHub repository result.
Fields§
§full_name: StringFull repo name (e.g. “owner/repo”).
url: StringRepository URL.
description: StringRepository description.
language: StringPrimary programming language.
stars: u64Star count.
forks: u64Fork count.
open_issues: u64Open issues count.
updated_at: StringLast update timestamp.
topics: Vec<String>Repository topics/tags.
license: StringLicense name.
Trait Implementations§
Source§impl Clone for GitHubSearchResult
impl Clone for GitHubSearchResult
Source§fn clone(&self) -> GitHubSearchResult
fn clone(&self) -> GitHubSearchResult
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 GitHubSearchResult
impl Debug for GitHubSearchResult
Source§impl<'de> Deserialize<'de> for GitHubSearchResult
impl<'de> Deserialize<'de> for GitHubSearchResult
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 From<&GitHubSearchResult> for SearchResult
impl From<&GitHubSearchResult> for SearchResult
Source§fn from(r: &GitHubSearchResult) -> Self
fn from(r: &GitHubSearchResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GitHubSearchResult
impl RefUnwindSafe for GitHubSearchResult
impl Send for GitHubSearchResult
impl Sync for GitHubSearchResult
impl Unpin for GitHubSearchResult
impl UnsafeUnpin for GitHubSearchResult
impl UnwindSafe for GitHubSearchResult
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