[][src]Enum gitlab::types::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.

Methods

impl VisibilityLevel[src]

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

String representation of the variant.

Trait Implementations

impl Clone for VisibilityLevel[src]

impl Copy for VisibilityLevel[src]

impl Eq for VisibilityLevel[src]

impl Ord for VisibilityLevel[src]

impl PartialEq<VisibilityLevel> for VisibilityLevel[src]

impl PartialOrd<VisibilityLevel> for VisibilityLevel[src]

impl Debug for VisibilityLevel[src]

impl StructuralPartialEq for VisibilityLevel[src]

impl StructuralEq for VisibilityLevel[src]

impl Serialize for VisibilityLevel[src]

impl<'de> Deserialize<'de> for VisibilityLevel[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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