Struct depdive::github::RepoStats [−][src]
pub struct RepoStats { pub full_name: Option<String>, pub default_branch: Option<String>, pub stargazers_count: u64, pub subscribers_count: u64, pub forks: u64, pub open_issues: u64, }
Fields
full_name: Option<String>
default_branch: Option<String>
stargazers_count: u64
subscribers_count: u64
forks: u64
open_issues: u64
Trait Implementations
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 RefUnwindSafe for RepoStats
impl UnwindSafe for RepoStats
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more