Enum gitlab::systemhooks::ProjectVisibility
source · pub enum ProjectVisibility {
Internal,
Private,
Public,
}Expand description
Visibility levels for projects.
Variants§
Internal
The project is only visible to users who are logged in.
Private
The project is only visible to team members.
Public
The project is visible to everyone.
Implementations§
Trait Implementations§
source§impl Clone for ProjectVisibility
impl Clone for ProjectVisibility
source§fn clone(&self) -> ProjectVisibility
fn clone(&self) -> ProjectVisibility
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 ProjectVisibility
impl Debug for ProjectVisibility
source§impl<'de> Deserialize<'de> for ProjectVisibility
impl<'de> Deserialize<'de> for ProjectVisibility
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ProjectVisibility
impl PartialEq for ProjectVisibility
source§fn eq(&self, other: &ProjectVisibility) -> bool
fn eq(&self, other: &ProjectVisibility) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ProjectVisibility
impl Serialize for ProjectVisibility
impl Copy for ProjectVisibility
impl Eq for ProjectVisibility
impl StructuralPartialEq for ProjectVisibility
Auto Trait Implementations§
impl RefUnwindSafe for ProjectVisibility
impl Send for ProjectVisibility
impl Sync for ProjectVisibility
impl Unpin for ProjectVisibility
impl UnwindSafe for ProjectVisibility
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 Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.