Struct gitlab::Gitlab [] [src]

pub struct Gitlab { /* fields omitted */ }

A representation of the Gitlab API for a single user.

Separate users should use separate instances of this.

Methods

impl Gitlab
[src]

Create a new Gitlab API representation.

Errors out if token is invalid.

Create a new non-SSL Gitlab API representation.

Errors out if token is invalid.

The user the API is acting as.

Get all user accounts

Find a user by id.

Find a user by username.

Get all accessible projects.

Get all owned projects.

Get all projects.

Requires administrator privileges.

Find a project by id.

Find a project by name.

Get a project's hooks.

Get a project hook.

Add a project hook.

Get the team members of a group.

Get a team member of a group.

Get the team members of a project.

Get a team member of a project.

Add a user to a project.

Get branches for a project.

Get a branch.

Get a commit.

Get comments on a commit.

Get comments on a commit.

Get comments on a commit.

Get the latest statuses of a commit.

Get the all statuses of a commit.

Get the latest builds of a commit.

Get the all builds of a commit.

Create a status message for a commit.

Get the issues for a project.

Get issues.

Get the notes from a issue.

Create a note on a issue.

Get the merge requests for a project.

Get the merge requests with a given state.

Get merge requests.

Get the issues that will be closed when a merge request is merged.

Get the notes from a merge request.

Award a merge request note with an award.

Get the awards for a merge request.

Get the awards for a merge request note.

Create a note on a merge request.

Get issues closed by a merge request.

Set the labels on an issue.

Trait Implementations

impl Debug for Gitlab
[src]

Formats the value using the given formatter.