[][src]Struct gitlab::api::projects::pipelines::PipelinesBuilder

pub struct PipelinesBuilder<'a> { /* fields omitted */ }

Builder for Pipelines.

Implementations

impl<'a> PipelinesBuilder<'a>[src]

pub fn project<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self[src]

The project to query for pipelines.

pub fn scope(&mut self, value: PipelineScope) -> &mut Self[src]

Filter pipelines by its scope.

pub fn status(&mut self, value: PipelineStatus) -> &mut Self[src]

Filter pipelines by its status.

pub fn ref_<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self[src]

Filter pipelines by the owning ref.

pub fn sha<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self[src]

Filter pipelines for a given commit SHA.

pub fn yaml_errors(&mut self, value: bool) -> &mut Self[src]

Filter pipelines with or without YAML errors.

pub fn name<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self[src]

Filter pipelines by the name of the triggering user.

pub fn username<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self[src]

Filter pipelines by the username of the triggering user.

pub fn order_by(&mut self, value: PipelineOrderBy) -> &mut Self[src]

Order results by a given key.

pub fn sort(&mut self, value: SortOrder) -> &mut Self[src]

Sort order for resulting pipelines.

pub fn updated_before(&mut self, value: DateTime<Utc>) -> &mut Self[src]

Filter pipelines by the last updated date before this time.

pub fn updated_after(&mut self, value: DateTime<Utc>) -> &mut Self[src]

Filter pipelines by the last updated date after this time.

pub fn build(&self) -> Result<Pipelines<'a>, String>[src]

Builds a new Pipelines.

Errors

If a required field has not been initialized.

Trait Implementations

impl<'a> Clone for PipelinesBuilder<'a>[src]

impl<'a> Default for PipelinesBuilder<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for PipelinesBuilder<'a>

impl<'a> Send for PipelinesBuilder<'a>

impl<'a> Sync for PipelinesBuilder<'a>

impl<'a> Unpin for PipelinesBuilder<'a>

impl<'a> UnwindSafe for PipelinesBuilder<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.