Enum gitlab::api::projects::FeatureAccessLevel
source · pub enum FeatureAccessLevel {
Disabled,
Private,
Enabled,
}Expand description
Access levels available for most features.
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 StructuralEq for FeatureAccessLevel
impl StructuralPartialEq for FeatureAccessLevel
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.