[−][src]Struct gitlab::api::groups::GroupsBuilder
Builder for Groups
.
Implementations
impl<'a> GroupsBuilder<'a>
[src]
pub fn search<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
[src]
Search for groups using a query string.
The search query will be escaped automatically.
pub fn all_available(&mut self, value: bool) -> &mut Self
[src]
Show all groups with access.
Note that the default for this endpoint differs based on whether the API caller has administrator privileges or not.
pub fn owned(&mut self, value: bool) -> &mut Self
[src]
Filter owned by those owned by the API caller.
pub fn min_access_level(&mut self, value: AccessLevel) -> &mut Self
[src]
Filter groups by those where the API caller has a minimum access level.
pub fn statistics(&mut self, value: bool) -> &mut Self
[src]
Include project statistics in the results.
pub fn with_custom_attributes(&mut self, value: bool) -> &mut Self
[src]
Include custom attributes in th response.
pub fn order_by(&mut self, value: GroupOrderBy) -> &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<Groups<'a>, String>
[src]
impl<'a> GroupsBuilder<'a>
[src]
pub fn skip_group(&mut self, group: u64) -> &mut Self
[src]
Skip 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>,
Skip the given group IDs.
Trait Implementations
impl<'a> Clone for GroupsBuilder<'a>
[src]
fn clone(&self) -> GroupsBuilder<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for GroupsBuilder<'a>
[src]
fn default() -> GroupsBuilder<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for GroupsBuilder<'a>
impl<'a> Send for GroupsBuilder<'a>
impl<'a> Sync for GroupsBuilder<'a>
impl<'a> Unpin for GroupsBuilder<'a>
impl<'a> UnwindSafe for GroupsBuilder<'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>,