Struct gitlab_api::gitlab::GitLab [] [src]

pub struct GitLab { /* fields omitted */ }

Methods

impl GitLab
[src]

Build a URL used to access GitLab instance, including some parameters.

Examples

Example from GitLab: https://docs.gitlab.com/ce/api/#basic-usage

use gitlab_api::GitLab;

let expected_url = "https://gitlab.example.com:\
                    443/api/v3/groups?order_by=path&private_token=XXXXXXXXXXXXX";

let gl = GitLab::new("gitlab.example.com", "XXXXXXXXXXXXX");

assert_eq!(gl.build_url("groups?order_by=path"), expected_url);

impl GitLab
[src]

impl GitLab
[src]

impl GitLab
[src]

impl GitLab
[src]

impl GitLab
[src]

impl GitLab
[src]

impl GitLab
[src]

impl GitLab
[src]

impl GitLab
[src]

impl GitLab
[src]

Trait Implementations

impl Default for GitLab
[src]

Returns the "default value" for a type. Read more

impl Debug for GitLab
[src]

Formats the value using the given formatter.