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]
impl ProjectVisibility
Trait Implementations
impl Debug for ProjectVisibility
[src]
impl Debug for ProjectVisibility
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ProjectVisibility
[src]
impl Clone for ProjectVisibility
fn clone(&self) -> ProjectVisibility
[src]
fn clone(&self) -> ProjectVisibility
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ProjectVisibility
[src]
impl Copy for ProjectVisibility
impl PartialEq for ProjectVisibility
[src]
impl PartialEq for ProjectVisibility
fn eq(&self, other: &ProjectVisibility) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ProjectVisibility
[src]
impl Eq for ProjectVisibility
impl Serialize for ProjectVisibility
[src]
impl Serialize for ProjectVisibility
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[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<'de> Deserialize<'de> for ProjectVisibility
[src]
impl<'de> Deserialize<'de> for ProjectVisibility
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for ProjectVisibility
impl Send for ProjectVisibility
impl Sync for ProjectVisibility
impl Sync for ProjectVisibility