[][src]Enum gitlab::api::common::VisibilityLevel

pub enum VisibilityLevel {
    Public,
    Internal,
    Private,
}

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

impl VisibilityLevel[src]

pub fn as_str(self) -> &'static str[src]

The string representation of the visibility level.

Trait Implementations

impl Clone for VisibilityLevel[src]

impl Copy for VisibilityLevel[src]

impl Debug for VisibilityLevel[src]

impl Eq for VisibilityLevel[src]

impl ParamValue<'static> for VisibilityLevel[src]

impl PartialEq<VisibilityLevel> for VisibilityLevel[src]

impl StructuralEq for VisibilityLevel[src]

impl StructuralPartialEq for VisibilityLevel[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.