Struct gitlab::api::projects::ProjectsBuilder [−][src]
pub struct ProjectsBuilder<'a> { /* fields omitted */ }Builder for Projects.
Implementations
impl<'a> ProjectsBuilder<'a>[src]
impl<'a> ProjectsBuilder<'a>[src]pub fn search<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self[src]
pub fn search<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self[src]Search for projects using a query string.
The search query will be escaped automatically.
pub fn visibility(&mut self, value: VisibilityLevel) -> &mut Self[src]
pub fn visibility(&mut self, value: VisibilityLevel) -> &mut Self[src]Filter projects by its visibility.
pub fn search_namespaces(&mut self, value: bool) -> &mut Self[src]
pub fn search_namespaces(&mut self, value: bool) -> &mut Self[src]Search ancestor namespaces when matching filters.
Defaults to false.
pub fn simple(&mut self, value: bool) -> &mut Self[src]
pub fn simple(&mut self, value: bool) -> &mut Self[src]Return only simple fields for search results.
pub fn owned(&mut self, value: bool) -> &mut Self[src]
pub fn owned(&mut self, value: bool) -> &mut Self[src]Filter projects by those owned by the API caller.
pub fn membership(&mut self, value: bool) -> &mut Self[src]
pub fn membership(&mut self, value: bool) -> &mut Self[src]Filter projects by those the API caller is a member of.
pub fn starred(&mut self, value: bool) -> &mut Self[src]
pub fn starred(&mut self, value: bool) -> &mut Self[src]Filter projects by those the API caller has starred.
pub fn statistics(&mut self, value: bool) -> &mut Self[src]
pub fn statistics(&mut self, value: bool) -> &mut Self[src]Include project statistics in the results.
pub fn with_issues_enabled(&mut self, value: bool) -> &mut Self[src]
pub fn with_issues_enabled(&mut self, value: bool) -> &mut Self[src]Filter projects by whether issues are enabled.
pub fn with_merge_requests_enabled(&mut self, value: bool) -> &mut Self[src]
pub fn with_merge_requests_enabled(&mut self, value: bool) -> &mut Self[src]Filter projects by whether merge requests are enabled.
pub fn with_programming_language<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
pub fn with_programming_language<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self[src]Filter projects by programming language.
pub fn wiki_checksum_failed(&mut self, value: bool) -> &mut Self[src]
pub fn wiki_checksum_failed(&mut self, value: bool) -> &mut Self[src]Filter projects by those with a failing wiki checksum.
pub fn repository_checksum_failed(&mut self, value: bool) -> &mut Self[src]
pub fn repository_checksum_failed(&mut self, value: bool) -> &mut Self[src]Filter projects by those with a failing repository checksum.
pub fn min_access_level(&mut self, value: AccessLevel) -> &mut Self[src]
pub fn min_access_level(&mut self, value: AccessLevel) -> &mut Self[src]Filter projects by those where the API caller has a minimum access level.
pub fn with_custom_attributes(&mut self, value: bool) -> &mut Self[src]
pub fn with_custom_attributes(&mut self, value: bool) -> &mut Self[src]Search for projects with custom attributes.
pub fn id_after(&mut self, value: u64) -> &mut Self[src]
pub fn id_after(&mut self, value: u64) -> &mut Self[src]Filter projects by those with at least this ID.
pub fn id_before(&mut self, value: u64) -> &mut Self[src]
pub fn id_before(&mut self, value: u64) -> &mut Self[src]Filter projects by those with at most this ID.
pub fn last_activity_after(&mut self, value: DateTime<Utc>) -> &mut Self[src]
pub fn last_activity_after(&mut self, value: DateTime<Utc>) -> &mut Self[src]Filter projects by those with activity after this date.
pub fn last_activity_before(&mut self, value: DateTime<Utc>) -> &mut Self[src]
pub fn last_activity_before(&mut self, value: DateTime<Utc>) -> &mut Self[src]Filter projects by those without activity before this date.
pub fn repository_storage<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
pub fn repository_storage<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self[src]Filter projects by which storage backend the repository is on.
Available to administrators only.
pub fn order_by(&mut self, value: ProjectOrderBy) -> &mut Self[src]
pub fn order_by(&mut self, value: ProjectOrderBy) -> &mut Self[src]Order results by a given key.
impl<'a> ProjectsBuilder<'a>[src]
impl<'a> ProjectsBuilder<'a>[src]Trait Implementations
impl<'a> Clone for ProjectsBuilder<'a>[src]
impl<'a> Clone for ProjectsBuilder<'a>[src]fn clone(&self) -> ProjectsBuilder<'a>[src]
fn clone(&self) -> ProjectsBuilder<'a>[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl<'a> Default for ProjectsBuilder<'a>[src]
impl<'a> Default for ProjectsBuilder<'a>[src]fn default() -> ProjectsBuilder<'a>[src]
fn default() -> ProjectsBuilder<'a>[src]Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ProjectsBuilder<'a>
impl<'a> Send for ProjectsBuilder<'a>
impl<'a> Sync for ProjectsBuilder<'a>
impl<'a> Unpin for ProjectsBuilder<'a>
impl<'a> UnwindSafe for ProjectsBuilder<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more