Skip to content
GitLab
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
61d73a17
Commit
61d73a17
authored
May 27, 2020
by
Ben Boeckel
⛰
Browse files
api/groups: support plain strings for query fields
parent
c103490a
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
61d73a17
...
...
@@ -19,7 +19,8 @@ been added.
*
The
`api::projects::environments::Environment`
endpoint uses the correct
path now.
*
The
`api::projects::members::ProjectMembers`
and
*
The
`api::groups::members::GroupMembers`
,
`api::projects::members::ProjectMembers`
, and
`api::projects::repository::Branches`
endpoints now accepts plain strings
for their
`query`
fields.
*
The
`api::projects::protected_branches::UnprotectBranch`
endpoint now
...
...
src/api/groups/members/members.rs
View file @
61d73a17
...
...
@@ -13,6 +13,7 @@ use crate::api::endpoint_prelude::*;
/// Query a members of a group.
#[derive(Debug,
Builder)]
#[builder(setter(strip_option))]
pub
struct
GroupMembers
<
'a
>
{
/// The group to query for membership.
#[builder(setter(into))]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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