[−][src]Struct gitlab::api::projects::ProjectsBuilder
Builder for Projects
.
Implementations
impl<'a> ProjectsBuilder<'a>
[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 archived(&mut self, value: bool) -> &mut Self
[src]
Filter projects by its archived state.
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]
Search ancestor namespaces when matching filters.
Defaults to false
.
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]
Filter projects by those owned by the API caller.
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]
Filter projects by those the API caller has starred.
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]
Filter projects by whether issues are enabled.
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]
&mut self,
value: VALUE
) -> &mut Self
Filter projects by programming language.
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]
Filter projects by those with a failing repository checksum.
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]
Search for projects with custom attributes.
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]
Filter projects by those with at most this ID.
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]
Filter projects by those without activity before this date.
pub fn order_by(&mut self, value: ProjectOrderBy) -> &mut Self
[src]
Order results by a given key.
pub fn sort(&mut self, value: SortOrder) -> &mut Self
[src]
The sort order for return results.
pub fn build(&self) -> Result<Projects<'a>, String>
[src]
impl<'a> ProjectsBuilder<'a>
[src]
pub fn custom_attribute<K, V>(&mut self, key: K, value: V) -> &mut Self where
K: Into<Cow<'a, str>>,
V: Into<Cow<'a, str>>,
[src]
K: Into<Cow<'a, str>>,
V: Into<Cow<'a, str>>,
Add a custom attribute search parameter.
pub fn custom_attributes<I, K, V>(&mut self, iter: I) -> &mut Self where
I: Iterator<Item = (K, V)>,
K: Into<Cow<'a, str>>,
V: Into<Cow<'a, str>>,
[src]
I: Iterator<Item = (K, V)>,
K: Into<Cow<'a, str>>,
V: Into<Cow<'a, str>>,
Add multiple custom attribute search parameters.
Trait Implementations
impl<'a> Clone for ProjectsBuilder<'a>
[src]
fn clone(&self) -> ProjectsBuilder<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for ProjectsBuilder<'a>
[src]
fn default() -> ProjectsBuilder<'a>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,