pub struct PullRequestsAnalyzer<'client> { /* private fields */ }
Implementations§
Source§impl<'client> PullRequestsAnalyzer<'client>
impl<'client> PullRequestsAnalyzer<'client>
pub fn new( repo: Repository, config: RepoConfig, client: &'client Client, parent_logger: &Logger, ) -> PullRequestsAnalyzer<'client>
pub fn analyze( &self, opts: AnalyzeOpts, ) -> Result<impl Iterator<Item = Result<PullRequestAnalyzer<'_>, Error>>, Error>
pub fn guess_len(&self, opts: AnalyzeOpts) -> Result<usize, Error>
pub fn from_repo( repo: &Repo, client: &'client Client, logger: &Logger, ) -> Result<Self, Error>
Auto Trait Implementations§
impl<'client> Freeze for PullRequestsAnalyzer<'client>
impl<'client> RefUnwindSafe for PullRequestsAnalyzer<'client>
impl<'client> Send for PullRequestsAnalyzer<'client>
impl<'client> !Sync for PullRequestsAnalyzer<'client>
impl<'client> Unpin for PullRequestsAnalyzer<'client>
impl<'client> UnwindSafe for PullRequestsAnalyzer<'client>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more