[−][src]Struct gitlab::api::groups::subgroups::GroupSubgroupsBuilder
Builder for GroupSubgroups
.
Implementations
impl<'a> GroupSubgroupsBuilder<'a>
[src]
pub fn group<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
[src]
The group to query for subgroups.
pub fn all_available(&mut self, value: bool) -> &mut Self
[src]
Show all the groups you have access to (defaults to false for authenticated users, true for admin); Attributes owned and min_access_level have precedence.
pub fn search<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
[src]
Search for subgroup using a query string.
The search query will be escaped automatically.
pub fn order_by(&mut self, value: GroupSubgroupsOrderBy) -> &mut Self
[src]
Return subgroups ordered by keys.
pub fn sort(&mut self, value: SortOrder) -> &mut Self
[src]
Return subgroups sorted in asc or desc order.
pub fn statistics(&mut self, value: bool) -> &mut Self
[src]
Include group statistics (admins only).
pub fn with_custom_attributes(&mut self, value: bool) -> &mut Self
[src]
Include custom attributes in response (admins only).
pub fn owned(&mut self, value: bool) -> &mut Self
[src]
Limit by subgroups owned by the current user.
pub fn min_access_level(&mut self, value: AccessLevel) -> &mut Self
[src]
Limit to subgroups where current user has at least this access level.
pub fn build(&self) -> Result<GroupSubgroups<'a>, String>
[src]
impl<'a> GroupSubgroupsBuilder<'a>
[src]
pub fn skip_group(&mut self, group_id: u64) -> &mut Self
[src]
Filter results by skipping the given group ID.
pub fn skip_groups<I>(&mut self, iter: I) -> &mut Self where
I: Iterator<Item = u64>,
[src]
I: Iterator<Item = u64>,
Filter results by skipping the given group IDs.
Trait Implementations
impl<'a> Clone for GroupSubgroupsBuilder<'a>
[src]
fn clone(&self) -> GroupSubgroupsBuilder<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for GroupSubgroupsBuilder<'a>
[src]
fn default() -> GroupSubgroupsBuilder<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for GroupSubgroupsBuilder<'a>
impl<'a> Send for GroupSubgroupsBuilder<'a>
impl<'a> Sync for GroupSubgroupsBuilder<'a>
impl<'a> Unpin for GroupSubgroupsBuilder<'a>
impl<'a> UnwindSafe for GroupSubgroupsBuilder<'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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,