f3-rs/src/topic.rs
Aravinth Manivannan 18b849be6c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
feat: init reuse.software
2023-10-24 20:03:59 +05:30

17 lines
558 B
Rust

// Copyright (C) 2023 Aravinth Manivannan <realaravinth@batsense.net>
// SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
//
// SPDX-License-Identifier: MIT
//! A list of categories associated with a project.
use serde::{Deserialize, Serialize};
/// A list of categories associated with a project.
#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)]
pub struct Topic {
/// Unique identifier of the topic
pub index: usize,
/// Name of the category the project belongs to
pub name: String,
}