Struct hubcaps::traffic::Traffic

source ·
pub struct Traffic<C>where
    C: Clone + Connect + 'static,
{ /* private fields */ }
Expand description

Provides access to the traffic information for a repository

Implementations

List the top 10 referrers over the past 14 days

List the top 10 popular contents over the past 14 days

Return the total number of views and breakdown per day or week for the last 14 days

Return the total number of clones and breakdown per day or week for the last 14 days

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.