Struct hubcaps::traffic::Traffic[][src]

pub struct Traffic<C> where
    C: Clone + Connect
{ /* fields omitted */ }

Provides access to the traffic information for a repository

Methods

impl<C: Clone + Connect> Traffic<C>
[src]

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

impl<C> !Send for Traffic<C>

impl<C> !Sync for Traffic<C>