pub struct GhProject {
pub url: String,
pub name: String,
pub description: Option<String>,
pub stargazer_count: i32,
pub homepage_url: Option<String>,
pub primary_language: Option<GhLanguage>,
}
Expand description
Github Project Response (gist or repository)
Fields§
§url: String
Project url
name: String
Project name
description: Option<String>
Project description
stargazer_count: i32
stargazerCount
homepage_url: Option<String>
homepageUrl
primary_language: Option<GhLanguage>
primaryLanguage
Trait Implementations§
source§impl<'de> Deserialize<'de> for GhProject
impl<'de> Deserialize<'de> for GhProject
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 GhProject
impl RefUnwindSafe for GhProject
impl Send for GhProject
impl Sync for GhProject
impl Unpin for GhProject
impl UnwindSafe for GhProject
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