pub struct AssetCodeRepository {
pub url: String,
pub contributors: i32,
pub forks: i32,
pub stars: i32,
pub subscribers: i32,
pub open_issues: Option<i32>,
pub closed_issues: i32,
pub open_pull_requests: i32,
pub closed_pull_requests: i32,
}Fields§
§url: StringThe URL of the code repository used to retrieve social metrics.
contributors: i32The number of contributors to the code repository.
forks: i32The number of forks of the code repository.
stars: i32The number of stars received by the code repository.
subscribers: i32The number of subscribers to the code repository.
open_issues: Option<i32>The number of open issues in the code repository.
closed_issues: i32The number of closed issues in the code repository.
open_pull_requests: i32The number of open pull requests in the code repository.
closed_pull_requests: i32The number of closed pull requests in the code repository.
Trait Implementations§
Source§impl Clone for AssetCodeRepository
impl Clone for AssetCodeRepository
Source§fn clone(&self) -> AssetCodeRepository
fn clone(&self) -> AssetCodeRepository
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 AssetCodeRepository
impl Debug for AssetCodeRepository
Source§impl<'de> Deserialize<'de> for AssetCodeRepository
impl<'de> Deserialize<'de> for AssetCodeRepository
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 AssetCodeRepository
impl RefUnwindSafe for AssetCodeRepository
impl Send for AssetCodeRepository
impl Sync for AssetCodeRepository
impl Unpin for AssetCodeRepository
impl UnsafeUnpin for AssetCodeRepository
impl UnwindSafe for AssetCodeRepository
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