Struct gitlab::types::RepoBranch
[−]
[src]
pub struct RepoBranch { pub name: String, pub commit: Option<RepoCommit>, pub merged: Option<bool>, pub protected: Option<bool>, pub developers_can_push: Option<bool>, pub developers_can_merge: Option<bool>, }
A branch on a repository.
Fields
name: String
The name of the branch.
commit: Option<RepoCommit>
The commit of the branch.
merged: Option<bool>
Whether the branch is merged into the main branch or not.
protected: Option<bool>
Whether the branch is protected or not.
developers_can_push: Option<bool>
Whether the developers can push directly to the branch or not.
developers_can_merge: Option<bool>
Whether the developers can merge into the branch or not.
Trait Implementations
impl Debug for RepoBranch
[src]
impl Clone for RepoBranch
[src]
fn clone(&self) -> RepoBranch
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