chore: apply lint
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Aravinth Manivannan 2023-01-02 22:21:26 +05:30
parent 12f1dd4244
commit 35ba7fae78
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
7 changed files with 10 additions and 10 deletions

View File

@ -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
/// in the destination forge.
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
pub struct Identities {
pub struct Identities {
pub pairs: Vec<usize>,
}

View File

@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
/// Label associated to an issue or a comment
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
pub struct Label {
pub struct Label {
/// Unique identifier of the label
pub index: usize,

View File

@ -14,9 +14,9 @@
* 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/>.
*/
pub mod user;
pub mod repository;
pub mod reaction;
pub mod label;
pub mod identities;
pub mod label;
pub mod reaction;
pub mod repository;
pub mod topic;
pub mod user;

View File

@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
/// Reaction associated to an issue or a comment
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
pub struct Reaction {
pub struct Reaction {
/// Unique identifier of the reaction
pub index: usize,

View File

@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
/// VCS repository relative to a project.
#[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.
pub name: String,
}

View File

@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
/// A list of categories associated with a project.
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
pub struct Topic {
pub struct Topic {
/// Unique identifier of the topic
pub index: usize,

View File

@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
/// A forge user
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
pub struct User {
pub struct User {
/// Unique identifier of the user
pub index: usize,