pub struct OssInsightClient { /* private fields */ }Implementations§
Source§impl OssInsightClient
impl OssInsightClient
pub fn new() -> Result<Self>
pub fn with_user_agent(user_agent: &str) -> Result<Self>
pub fn ranking_by_prs( &self, collection_id: u64, period: &str, ) -> Result<Vec<CollectionRepoRank>>
pub fn pull_request_creators( &self, owner: &str, repo: &str, page_size: u32, ) -> Result<Vec<PullRequestCreator>>
Auto Trait Implementations§
impl Freeze for OssInsightClient
impl !RefUnwindSafe for OssInsightClient
impl Send for OssInsightClient
impl Sync for OssInsightClient
impl Unpin for OssInsightClient
impl UnsafeUnpin for OssInsightClient
impl !UnwindSafe for OssInsightClient
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