[−][src]Struct gitlab::api::groups::CreateGroupBuilder
Builder for CreateGroup
.
Implementations
impl<'a> CreateGroupBuilder<'a>
[src]
pub fn name<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
[src]
The name of the group.
pub fn path<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
[src]
The path of the group.
pub fn description<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
A short description for the group.
pub fn membership_lock(&mut self, value: bool) -> &mut Self
[src]
Prevent adding members directly to projects within the group.
pub fn visibility(&mut self, value: VisibilityLevel) -> &mut Self
[src]
The visibility of the group.
pub fn share_with_group_lock(&mut self, value: bool) -> &mut Self
[src]
Prevent sharing a project in this group with another group.
pub fn require_two_factor_authentication(&mut self, value: bool) -> &mut Self
[src]
Require two-factor authentication to be a member of this group.
pub fn two_factor_grace_period(&mut self, value: u64) -> &mut Self
[src]
Time (in hours) for users to enable two-factor before enforcing it.
pub fn project_creation_level(
&mut self,
value: GroupProjectCreationAccessLevel
) -> &mut Self
[src]
&mut self,
value: GroupProjectCreationAccessLevel
) -> &mut Self
The access level to the group that is required to create new projects.
pub fn auto_devops_enabled(&mut self, value: bool) -> &mut Self
[src]
Default to Auto DevOps for new projects in the group.
pub fn subgroup_creation_level(
&mut self,
value: SubgroupCreationAccessLevel
) -> &mut Self
[src]
&mut self,
value: SubgroupCreationAccessLevel
) -> &mut Self
The access level to the group that is required to create subgroups.
pub fn emails_disabled(&mut self, value: bool) -> &mut Self
[src]
Disable email notifications from the group.
pub fn mentions_disabled(&mut self, value: bool) -> &mut Self
[src]
Disable group-wide mentions.
pub fn lfs_enabled(&mut self, value: bool) -> &mut Self
[src]
Whether git-lfs
is enabled by default for projects within the group.
pub fn request_access_enabled(&mut self, value: bool) -> &mut Self
[src]
Whether access to the group may be requested.
pub fn parent_id(&mut self, value: u64) -> &mut Self
[src]
The parent group ID (for subgroups).
pub fn default_branch_protection(
&mut self,
value: BranchProtection
) -> &mut Self
[src]
&mut self,
value: BranchProtection
) -> &mut Self
The default branch protection for projects within the group.
pub fn shared_runners_minutes_limit(&mut self, value: u64) -> &mut Self
[src]
Pipeline quota (in minutes) for the group on shared runners.
pub fn extra_shared_runners_minutes_limit(&mut self, value: u64) -> &mut Self
[src]
Pipeline quota excess (in minutes) for the group on shared runners.
pub fn build(&self) -> Result<CreateGroup<'a>, String>
[src]
Trait Implementations
impl<'a> Clone for CreateGroupBuilder<'a>
[src]
fn clone(&self) -> CreateGroupBuilder<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for CreateGroupBuilder<'a>
[src]
fn default() -> CreateGroupBuilder<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for CreateGroupBuilder<'a>
impl<'a> Send for CreateGroupBuilder<'a>
impl<'a> Sync for CreateGroupBuilder<'a>
impl<'a> Unpin for CreateGroupBuilder<'a>
impl<'a> UnwindSafe for CreateGroupBuilder<'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>,