pub struct GitHubClient;Implementations§
Source§impl GitHubClient
impl GitHubClient
pub fn new() -> Self
pub fn has_auth(&self) -> bool
pub fn get_pull_requests( &self, owner: &str, repo: &str, branch: &str, ) -> Result<Vec<PullRequest>>
pub fn get_all_pull_requests( &self, owner: &str, repo: &str, ) -> Result<Vec<(PullRequest, String)>>
pub fn parse_github_url(url: &str) -> Option<(String, String)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitHubClient
impl RefUnwindSafe for GitHubClient
impl Send for GitHubClient
impl Sync for GitHubClient
impl Unpin for GitHubClient
impl UnwindSafe for GitHubClient
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