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
bb3c35ef
Commit
bb3c35ef
authored
Feb 07, 2017
by
Ben Boeckel
Browse files
imports: import from the top-level rather than via super
parent
f127e242
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/gitlab.rs
View file @
bb3c35ef
...
...
@@ -18,8 +18,8 @@ extern crate serde_json;
extern
crate
url
;
use
self
::
url
::
percent_encoding
::{
PATH_SEGMENT_ENCODE_SET
,
percent_encode
};
use
super
::
error
::
*
;
use
super
::
types
::
*
;
use
error
::
*
;
use
types
::
*
;
use
std
::
borrow
::
Borrow
;
use
std
::
fmt
::{
self
,
Debug
};
...
...
src/hooks.rs
View file @
bb3c35ef
...
...
@@ -20,8 +20,8 @@ use self::serde::de::Error;
extern
crate
serde_json
;
use
self
::
serde_json
::
Value
;
use
super
::
systemhooks
::
SystemHook
;
use
super
::
webhooks
::
WebHook
;
use
systemhooks
::
SystemHook
;
use
webhooks
::
WebHook
;
#[derive(Debug,
Clone)]
/// A deserializable structure for all Gitlab hooks.
...
...
src/systemhooks.rs.in
View file @
bb3c35ef
...
...
@@ -16,8 +16,8 @@ use self::serde::de::{Error, Type};
extern crate serde_json;
use self::serde_json::Value;
use
super::
types::{AccessLevel, GroupId, ObjectId, ProjectId, SshKeyId, UserId};
use
super::
webhooks::{CommitHookAttrs, ProjectHookAttrs};
use types::{AccessLevel, GroupId, ObjectId, ProjectId, SshKeyId, UserId};
use webhooks::{CommitHookAttrs, ProjectHookAttrs};
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
/// Events which occur at the project level.
...
...
src/test/types.rs
View file @
bb3c35ef
...
...
@@ -15,7 +15,7 @@ use self::serde::Deserialize;
extern
crate
serde_json
;
use
self
::
serde_json
::
from_reader
;
use
super
::
super
::
types
::
*
;
use
types
::
*
;
use
std
::
fs
::
File
;
...
...
src/webhooks.rs.in
View file @
bb3c35ef
...
...
@@ -16,8 +16,8 @@ use self::serde::de::{Error, Type};
extern crate serde_json;
use self::serde_json::Value;
use
super::
types::{BuildId, IssueId, IssueState, MergeRequestId, MergeRequestState, MergeStatus,
MilestoneId, NoteId, NoteType, NoteableId, ObjectId, ProjectId, SnippetId, UserId};
use types::{BuildId, IssueId, IssueState, MergeRequestId, MergeRequestState, MergeStatus,
MilestoneId, NoteId, NoteType, NoteableId, ObjectId, ProjectId, SnippetId, UserId};
#[derive(Debug, Clone, Copy)]
/// A wrapper struct for dates in web hooks.
...
...
Write
Preview
Markdown
is supported
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