[−][src]Struct gitlab::api::groups::projects::GroupProjectsBuilder
Builder for GroupProjects
.
Implementations
impl<'a> GroupProjectsBuilder<'a>
[src]
pub fn group<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
[src]
The group to query for projects.
pub fn archived(&mut self, value: bool) -> &mut Self
[src]
Limit by archived status.
pub fn visibility(&mut self, value: VisibilityLevel) -> &mut Self
[src]
Limit by visibility public, internal, or private
pub fn order_by(&mut self, value: GroupProjectsOrderBy) -> &mut Self
[src]
Return projects ordered by keys.
pub fn sort(&mut self, value: SortOrder) -> &mut Self
[src]
Return projects sorted in asc or desc order.
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 simple(&mut self, value: bool) -> &mut Self
[src]
Return only the ID, URL, name, and path of each project.
pub fn owned(&mut self, value: bool) -> &mut Self
[src]
Limit by projects owned by the current user.
pub fn starred(&mut self, value: bool) -> &mut Self
[src]
Limit by projects starred by the current user.
pub fn with_issues_enabled(&mut self, value: bool) -> &mut Self
[src]
Limit by projects with issues feature enabled.
pub fn with_merge_requests_enabled(&mut self, value: bool) -> &mut Self
[src]
Limit by projects with merge requests feature enabled.
pub fn with_shared(&mut self, value: bool) -> &mut Self
[src]
Include projects shared to this group.
pub fn include_subgroups(&mut self, value: bool) -> &mut Self
[src]
Include projects in subgroups of this group.
pub fn min_access_level(&mut self, value: AccessLevel) -> &mut Self
[src]
Limit to projects where current user has at least this access level.
pub fn with_custom_attributes(&mut self, value: bool) -> &mut Self
[src]
Include custom attributes in response (admins only).
pub fn with_security_reports(&mut self, value: bool) -> &mut Self
[src]
Return only projects that have security reports artifacts present in any of their builds.
pub fn build(&self) -> Result<GroupProjects<'a>, String>
[src]
Trait Implementations
impl<'a> Clone for GroupProjectsBuilder<'a>
[src]
fn clone(&self) -> GroupProjectsBuilder<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for GroupProjectsBuilder<'a>
[src]
fn default() -> GroupProjectsBuilder<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for GroupProjectsBuilder<'a>
impl<'a> Send for GroupProjectsBuilder<'a>
impl<'a> Sync for GroupProjectsBuilder<'a>
impl<'a> Unpin for GroupProjectsBuilder<'a>
impl<'a> UnwindSafe for GroupProjectsBuilder<'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>,