This commit is contained in:
parent
12f1dd4244
commit
35ba7fae78
7 changed files with 10 additions and 10 deletions
|
@ -21,6 +21,6 @@ use serde::{Deserialize, Serialize};
|
||||||
/// forge to another. The first element is the id in the source forge, the second element is the id
|
/// forge to another. The first element is the id in the source forge, the second element is the id
|
||||||
/// in the destination forge.
|
/// in the destination forge.
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
||||||
pub struct Identities {
|
pub struct Identities {
|
||||||
pub pairs: Vec<usize>,
|
pub pairs: Vec<usize>,
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// Label associated to an issue or a comment
|
/// Label associated to an issue or a comment
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
||||||
pub struct Label {
|
pub struct Label {
|
||||||
/// Unique identifier of the label
|
/// Unique identifier of the label
|
||||||
pub index: usize,
|
pub index: usize,
|
||||||
|
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
pub mod user;
|
|
||||||
pub mod repository;
|
|
||||||
pub mod reaction;
|
|
||||||
pub mod label;
|
|
||||||
pub mod identities;
|
pub mod identities;
|
||||||
|
pub mod label;
|
||||||
|
pub mod reaction;
|
||||||
|
pub mod repository;
|
||||||
pub mod topic;
|
pub mod topic;
|
||||||
|
pub mod user;
|
||||||
|
|
|
@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// Reaction associated to an issue or a comment
|
/// Reaction associated to an issue or a comment
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
||||||
pub struct Reaction {
|
pub struct Reaction {
|
||||||
/// Unique identifier of the reaction
|
/// Unique identifier of the reaction
|
||||||
pub index: usize,
|
pub index: usize,
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// VCS repository relative to a project.
|
/// VCS repository relative to a project.
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
||||||
pub struct Repository {
|
pub struct Repository {
|
||||||
/// Suffix to add to the clone URL of the project to access the repository.
|
/// Suffix to add to the clone URL of the project to access the repository.
|
||||||
pub name: String,
|
pub name: String,
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// A list of categories associated with a project.
|
/// A list of categories associated with a project.
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
||||||
pub struct Topic {
|
pub struct Topic {
|
||||||
/// Unique identifier of the topic
|
/// Unique identifier of the topic
|
||||||
pub index: usize,
|
pub index: usize,
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// A forge user
|
/// A forge user
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
|
||||||
pub struct User {
|
pub struct User {
|
||||||
/// Unique identifier of the user
|
/// Unique identifier of the user
|
||||||
pub index: usize,
|
pub index: usize,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue