Enum gitlab::api::projects::protected_branches::ProtectedAccess [−][src]
pub enum ProtectedAccess {
User(u64),
Group(u64),
Level(ProtectedAccessLevel),
}Expand description
Granular protected access controls for branches.
Variants
User(u64)Give a specific user access.
Tuple Fields of User
0: u64Group(u64)Give a group access.
Tuple Fields of Group
0: u64Level(ProtectedAccessLevel)Give access to anyone with at least an access level.
Tuple Fields of Level
Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProtectedAccess
impl Send for ProtectedAccess
impl Sync for ProtectedAccess
impl Unpin for ProtectedAccess
impl UnwindSafe for ProtectedAccess
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more