Enum gitlab::api::common::VisibilityLevel
source · pub enum VisibilityLevel {
Public,
Internal,
Private,
}Expand description
Visibility levels of projects.
Variants§
Public
The project is visible to anonymous users.
Internal
The project is visible to logged in users.
Private
The project is visible only to users with explicit access.
Implementations§
Trait Implementations§
source§impl Clone for VisibilityLevel
impl Clone for VisibilityLevel
source§fn clone(&self) -> VisibilityLevel
fn clone(&self) -> VisibilityLevel
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 VisibilityLevel
impl Debug for VisibilityLevel
source§impl ParamValue<'static> for VisibilityLevel
impl ParamValue<'static> for VisibilityLevel
source§impl PartialEq<VisibilityLevel> for VisibilityLevel
impl PartialEq<VisibilityLevel> for VisibilityLevel
source§fn eq(&self, other: &VisibilityLevel) -> bool
fn eq(&self, other: &VisibilityLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for VisibilityLevel
impl Eq for VisibilityLevel
impl StructuralEq for VisibilityLevel
impl StructuralPartialEq for VisibilityLevel
Auto Trait Implementations§
impl RefUnwindSafe for VisibilityLevel
impl Send for VisibilityLevel
impl Sync for VisibilityLevel
impl Unpin for VisibilityLevel
impl UnwindSafe for VisibilityLevel
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.