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

The name of the branch.

The commit of the branch.

Whether the branch is merged into the main branch or not.

Whether the branch is protected or not.

Whether the developers can push directly to the branch or not.

Whether the developers can merge into the branch or not.

Trait Implementations

impl Debug for RepoBranch
[src]

Formats the value using the given formatter.

impl Clone for RepoBranch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more