Enum gitlab::systemhooks::HumanAccessLevel [−][src]
pub enum HumanAccessLevel { Guest, Reporter, Developer, Maintainer, Owner, }
Access levels for groups and projects.
Variants
Guest
Guest access (can see the project).
Reporter
Reporter access (can open issues).
Developer
Developer access (can push branches, handle issues and merge requests).
Maintainer
Maintainer access (can push to protected branches).
Owner
Owner access (full rights).
Methods
impl HumanAccessLevel
[src]
impl HumanAccessLevel
Trait Implementations
impl Debug for HumanAccessLevel
[src]
impl Debug for HumanAccessLevel
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 HumanAccessLevel
[src]
impl Clone for HumanAccessLevel
fn clone(&self) -> HumanAccessLevel
[src]
fn clone(&self) -> HumanAccessLevel
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)
Performs copy-assignment from source
. Read more
impl Copy for HumanAccessLevel
[src]
impl Copy for HumanAccessLevel
impl PartialEq for HumanAccessLevel
[src]
impl PartialEq for HumanAccessLevel
fn eq(&self, other: &HumanAccessLevel) -> bool
[src]
fn eq(&self, other: &HumanAccessLevel) -> 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
This method tests for !=
.
impl Eq for HumanAccessLevel
[src]
impl Eq for HumanAccessLevel
impl PartialOrd for HumanAccessLevel
[src]
impl PartialOrd for HumanAccessLevel
fn partial_cmp(&self, other: &HumanAccessLevel) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &HumanAccessLevel) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for HumanAccessLevel
[src]
impl Ord for HumanAccessLevel
fn cmp(&self, other: &HumanAccessLevel) -> Ordering
[src]
fn cmp(&self, other: &HumanAccessLevel) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Serialize for HumanAccessLevel
[src]
impl Serialize for HumanAccessLevel
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 HumanAccessLevel
[src]
impl<'de> Deserialize<'de> for HumanAccessLevel
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
impl From<HumanAccessLevel> for AccessLevel
[src]
impl From<HumanAccessLevel> for AccessLevel
fn from(access: HumanAccessLevel) -> Self
[src]
fn from(access: HumanAccessLevel) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for HumanAccessLevel
impl Send for HumanAccessLevel
impl Sync for HumanAccessLevel
impl Sync for HumanAccessLevel