pub struct GitLab;Expand description
GitLab forge implementation
Implementations§
Trait Implementations§
Source§impl Forge for GitLab
impl Forge for GitLab
Source§fn repository_browse_can_be_homepage(&self) -> bool
fn repository_browse_can_be_homepage(&self) -> bool
Whether the repository browse URL can be used as homepage
Source§fn bug_database_url_from_bug_submit_url(&self, url: &Url) -> Option<Url>
fn bug_database_url_from_bug_submit_url(&self, url: &Url) -> Option<Url>
Derives the bug database URL from a bug submission URL
Source§fn bug_submit_url_from_bug_database_url(&self, url: &Url) -> Option<Url>
fn bug_submit_url_from_bug_database_url(&self, url: &Url) -> Option<Url>
Derives the bug submission URL from a bug database URL
Source§fn check_bug_database_canonical<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Url, CanonicalizeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn check_bug_database_canonical<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Url, CanonicalizeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Checks if a bug database URL is canonical
Source§fn check_bug_submit_url_canonical<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Url, CanonicalizeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn check_bug_submit_url_canonical<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Url, CanonicalizeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Checks if a bug submission URL is canonical
Source§fn bug_database_from_issue_url(&self, url: &Url) -> Option<Url>
fn bug_database_from_issue_url(&self, url: &Url) -> Option<Url>
Gets the bug database URL from an issue URL
Source§fn bug_database_url_from_repo_url(&self, url: &Url) -> Option<Url>
fn bug_database_url_from_repo_url(&self, url: &Url) -> Option<Url>
Gets the bug database URL from a repository URL
Source§fn repo_url_from_merge_request_url(&self, url: &Url) -> Option<Url>
fn repo_url_from_merge_request_url(&self, url: &Url) -> Option<Url>
Gets the repository URL from a merge request URL
Source§fn extend_metadata<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_metadata: &'life1 mut Vec<UpstreamDatumWithMetadata>,
_project: &'life2 str,
_max_certainty: Option<Certainty>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn extend_metadata<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_metadata: &'life1 mut Vec<UpstreamDatumWithMetadata>,
_project: &'life2 str,
_max_certainty: Option<Certainty>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Extends metadata with forge-specific information
Auto Trait Implementations§
impl Freeze for GitLab
impl RefUnwindSafe for GitLab
impl Send for GitLab
impl Sync for GitLab
impl Unpin for GitLab
impl UnsafeUnpin for GitLab
impl UnwindSafe for GitLab
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.