Struct CCAssetCodeRepoMetrics

Source
pub struct CCAssetCodeRepoMetrics {
Show 14 fields pub unit: String, pub timestamp: i64, pub type_: String, pub asset_id: i32, pub asset_symbol: String, pub total_contributors: i32, pub total_forks: i32, pub total_stars: i32, pub total_subscribers: i32, pub total_open_issues: Option<i32>, pub total_closed_issues: i32, pub total_open_pull_requests: i32, pub total_closed_pull_requests: i32, pub code_repositories: Vec<CCAssetCodeRepository>,
}
Expand description

Asset: Historical: Code Repository Metrics Day

Fields§

§unit: String

The unit of the historical period update: HOUR for hour and DAY for day.

§timestamp: i64

The timestamp in seconds of the histo period, for hour it would be start of the hour and for daily it is 00:00 GMT/UTC.

§type_: String

The type of the message.

§asset_id: i32

The unique identifier for the asset.

§asset_symbol: String

Internal mapped symbol for a specific asset.

§total_contributors: i32

The total number of contributors across all code repositories associated with this asset. A contributor is a users who has contributed to a project by making changes or improvements to the project’s codebase, having their changes accepted and merged, and is acknowledged for their contributions in the project’s development history.

§total_forks: i32

The total number of forks across all code repositories associated with this asset. A fork in GitHub is a feature that allows users to create a personal copy of another repository, enabling them to modify, experiment with, or contribute to the project without affecting the original work.

§total_stars: i32

The total number of stars received across all code repositories associated with this asset. A star is when a GitHub user bookmarks or wants to show appreciation for a particular repository, much like a “like” or “favorite” function on other social media platforms.

§total_subscribers: i32

The total number of subscribers across all code repositories associated with this asset. A subscriber is a user who has chosen to receive notifications for updates or changes made to a specific repository, allowing them to closely follow the development and discussions of a project.

§total_open_issues: Option<i32>

The total number of open issues across all code repositories associated with this asset. An open issue is a reported problem, suggestion, or task related to a repository that has not been resolved or closed yet, providing a platform for users to track and discuss the ongoing development and improvements of a project.

§total_closed_issues: i32

The total number of closed issues across all code repositories associated with this asset. A closed issue is a reported problem, suggestion, or task related to a repository that have been resolved or deemed no longer relevant, providing a record of past challenges and solutions within the project development.

§total_open_pull_requests: i32

The total number of open pull requests across all code repositories associated with this asset. An open pull request on GitHub is a proposed change to a repository’s codebase that is open for review and discussion, integrating the proposed modifications.

§total_closed_pull_requests: i32

The total number of closed pull requests across all code repositories associated with this asset. A closed pull request is a proposed change to a repository’s codebase that has been either accepted and merged into the codebase, rejected by the maintainers, or withdrawn by the submitter, providing a record of changes that were suggested and their outcomes in the project’s development history.

§code_repositories: Vec<CCAssetCodeRepository>

An array with all the data for each code repository used to calculate the total stats.

Trait Implementations§

Source§

impl Debug for CCAssetCodeRepoMetrics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CCAssetCodeRepoMetrics

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,