Enum gitlab::api::projects::FeatureAccessLevel
source · #[non_exhaustive]pub enum FeatureAccessLevel {
Disabled,
Private,
Enabled,
}
Expand description
Access levels available for most features.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disabled
The feature is not available at all.
Private
The features is only available to project members.
Enabled
The feature is available to everyone with access to the project.
Trait Implementations§
source§impl Clone for FeatureAccessLevel
impl Clone for FeatureAccessLevel
source§fn clone(&self) -> FeatureAccessLevel
fn clone(&self) -> FeatureAccessLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FeatureAccessLevel
impl Debug for FeatureAccessLevel
source§impl ParamValue<'static> for FeatureAccessLevel
impl ParamValue<'static> for FeatureAccessLevel
source§impl PartialEq for FeatureAccessLevel
impl PartialEq for FeatureAccessLevel
source§fn eq(&self, other: &FeatureAccessLevel) -> bool
fn eq(&self, other: &FeatureAccessLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FeatureAccessLevel
impl Eq for FeatureAccessLevel
impl StructuralPartialEq for FeatureAccessLevel
Auto Trait Implementations§
impl Freeze for FeatureAccessLevel
impl RefUnwindSafe for FeatureAccessLevel
impl Send for FeatureAccessLevel
impl Sync for FeatureAccessLevel
impl Unpin for FeatureAccessLevel
impl UnwindSafe for FeatureAccessLevel
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.