Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicholas Bailey
rust-gitlab
Commits
b9c52d23
Commit
b9c52d23
authored
Sep 22, 2016
by
Ben Boeckel
⛰
Browse files
gitlab: rename project membership methods
parent
b927d288
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gitlab.rs
View file @
b9c52d23
...
...
@@ -145,12 +145,12 @@ impl Gitlab {
}
/// Get the team members of a project.
pub
fn
members
(
&
self
,
project
:
ProjectId
)
->
GitlabResult
<
Vec
<
Member
>>
{
pub
fn
project_
members
(
&
self
,
project
:
ProjectId
)
->
GitlabResult
<
Vec
<
Member
>>
{
self
._get_paged
(
&
format!
(
"projects/{}/members"
,
project
))
}
/// Get a team member of a project.
pub
fn
member
(
&
self
,
project
:
ProjectId
,
user
:
UserId
)
->
GitlabResult
<
Option
<
Member
>>
{
pub
fn
project_
member
(
&
self
,
project
:
ProjectId
,
user
:
UserId
)
->
GitlabResult
<
Option
<
Member
>>
{
self
._get
(
&
format!
(
"projects/{}/members/{}"
,
project
,
user
))
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment