Skip to main content

ApiPath

Struct ApiPath 

Source
pub struct ApiPath;

Implementations§

Source§

impl ApiPath

Source

pub fn projects() -> String

Source

pub fn project(id: &str) -> String

Source

pub fn work_item(id: i64) -> String

Source

pub fn work_items() -> String

Source

pub fn work_items_batch() -> String

Source

pub fn work_item_create(project: &str, type: &str) -> String

Source

pub fn wiql(project: &str) -> String

Source

pub fn wiql_team(project: &str, team: &str) -> String

Source

pub fn wiql_by_id(project: &str, id: &str) -> String

Source

pub fn wiql_by_id_team(p: &str, t: &str, id: &str) -> String

Source

pub fn work_item_types(project: &str) -> String

Source

pub fn work_item_type(project: &str, t: &str) -> String

Source

pub fn fields() -> String

Source

pub fn state_colors() -> String

Source

pub fn repositories() -> String

Source

pub fn repository(id: &str) -> String

Source

pub fn repository_refs(id: &str) -> String

Source

pub fn repository_commits(id: &str) -> String

Source

pub fn repository_commit(id: &str, sha: &str) -> String

Source

pub fn repository_pushes(id: &str) -> String

Source

pub fn repository_push(id: &str, push: i64) -> String

Source

pub fn repository_branches(id: &str) -> String

Source

pub fn repository_items(id: &str) -> String

Source

pub fn repository_blob(id: &str, sha: &str) -> String

Source

pub fn repository_statuses(id: &str, sha: &str) -> String

Source

pub fn prs(repo: &str) -> String

Source

pub fn prs_by_project(project: &str) -> String

Source

pub fn pr(repo: &str, id: i64) -> String

Source

pub fn pr_by_id(id: i64) -> String

Source

pub fn pr_commits(repo: &str, id: i64) -> String

Source

pub fn pr_workitems(repo: &str, id: i64) -> String

Source

pub fn pr_reviewers(repo: &str, id: i64) -> String

Source

pub fn pr_reviewer(repo: &str, pr: i64, rev: &str) -> String

Source

pub fn pr_threads(repo: &str, id: i64) -> String

Source

pub fn pr_comments(repo: &str, pr: i64, thread: i64) -> String

Source

pub fn pr_comment(repo: &str, pr: i64, thread: i64, comment: i64) -> String

Source

pub fn build_definitions(project: &str) -> String

Source

pub fn build_definition(project: &str, id: i64) -> String

Source

pub fn build_definition_revisions(project: &str, id: i64) -> String

Source

pub fn builds(project: &str) -> String

Source

pub fn build(project: &str, id: i64) -> String

Source

pub fn build_latest(project: &str, def: i64) -> String

Source

pub fn build_tags(project: &str, id: i64) -> String

Source

pub fn build_tag(project: &str, id: i64, tag: &str) -> String

Source

pub fn build_timeline(project: &str, id: i64) -> String

Source

pub fn build_logs(project: &str, id: i64) -> String

Source

pub fn build_artifacts(project: &str, id: i64) -> String

Source

pub fn build_artifact(project: &str, id: i64, name: &str) -> String

Source

pub fn build_changes(project: &str, id: i64) -> String

Source

pub fn build_metrics(project: &str) -> String

Source

pub fn build_definition_metrics(project: &str, id: i64) -> String

Source

pub fn build_badge(base_url: &str, def: i64) -> String

Source

pub fn pipelines(project: &str) -> String

Source

pub fn pipeline(project: &str, id: i64) -> String

Source

pub fn pipeline_runs(project: &str, id: i64) -> String

Source

pub fn pipeline_run(project: &str, pid: i64, rid: i64) -> String

Source

pub fn pipeline_preview(project: &str, id: i64) -> String

Source

pub fn pipeline_artifact( project: &str, pid: i64, rid: i64, name: &str, ) -> String

Source

pub fn pipeline_logs(project: &str, pid: i64, rid: i64) -> String

Source

pub fn pipeline_log(project: &str, pid: i64, rid: i64, lid: i64) -> String

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more