Enum gitlab::systemhooks::ProjectVisibility
[−]
[src]
pub enum ProjectVisibility { Internal, Private, Public, }
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.
Methods
impl ProjectVisibility
[src]
Trait Implementations
impl Debug for ProjectVisibility
[src]
impl Clone for ProjectVisibility
[src]
fn clone(&self) -> ProjectVisibility
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ProjectVisibility
[src]
impl PartialEq for ProjectVisibility
[src]
fn eq(&self, __arg_0: &ProjectVisibility) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for ProjectVisibility
[src]
impl Serialize for ProjectVisibility
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer
Serialize this value into the given Serde serializer. Read more
impl Deserialize for ProjectVisibility
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where D: Deserializer
Deserialize this value from the given Serde deserializer. Read more