pub struct Jira { /* private fields */ }Expand description
Jira issues as an AI6 Source and Tracker.
Implementations§
Trait Implementations§
Source§impl ProviderDecl for Jira
impl ProviderDecl for Jira
Source§impl Source for Jira
impl Source for Jira
Source§fn poll(&self, request: SourcePoll) -> Result<SourceBatch, ProviderError>
fn poll(&self, request: SourcePoll) -> Result<SourceBatch, ProviderError>
Returns the items that changed since
request.cursor and match the filters the
provider was configured with. Blocks for the duration of the network exchange.Source§fn facts(&self) -> Result<SourceFacts, ProviderError>
fn facts(&self) -> Result<SourceFacts, ProviderError>
What this instance’s settings say of its web page, intake labels, hosts and credential
variables, with no request to the tracker. The default says nothing.
Source§fn board_url(&self) -> Result<Option<String>, ProviderError>
fn board_url(&self) -> Result<Option<String>, ProviderError>
The page where people read this instance’s issues as a board, from its own settings and
with no request to the tracker;
None when the provider names none.Source§fn issue_templates(&self) -> Result<Vec<String>, ProviderError>
fn issue_templates(&self) -> Result<Vec<String>, ProviderError>
The text of the project’s issue templates, read through the tracker: a hidden comment an
item carries from one of them is the template’s own, and vetting does not hold it.
Empty when the provider has no templates or the project has none.
Source§impl Tracker for Jira
impl Tracker for Jira
Source§fn capabilities(
&self,
item: Option<String>,
) -> Result<TrackerCapabilities, ProviderError>
fn capabilities( &self, item: Option<String>, ) -> Result<TrackerCapabilities, ProviderError>
Returns what the instance can do;
item adds the answers that depend on one issue.Source§fn replies(&self, request: ReplyPoll) -> Result<ReplyBatch, ProviderError>
fn replies(&self, request: ReplyPoll) -> Result<ReplyBatch, ProviderError>
Lists the comments made after
request.since on the issues it names.Source§fn post(&self, post: TrackerPost) -> Result<PostedComment, ProviderError>
fn post(&self, post: TrackerPost) -> Result<PostedComment, ProviderError>
Posts a comment, or edits the one
post.edit names.Source§fn update(&self, update: TrackerUpdate) -> Result<(), ProviderError>
fn update(&self, update: TrackerUpdate) -> Result<(), ProviderError>
Changes labels, workflow state or assignees.
Source§fn create(&self, spec: IssueSpec) -> Result<TrackerIssue, ProviderError>
fn create(&self, spec: IssueSpec) -> Result<TrackerIssue, ProviderError>
Creates an issue and returns it, with its parent when one was attached.
Auto Trait Implementations§
impl !Freeze for Jira
impl !RefUnwindSafe for Jira
impl !UnwindSafe for Jira
impl Send for Jira
impl Sync for Jira
impl Unpin for Jira
impl UnsafeUnpin for Jira
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.