pub struct Topic {
pub index: usize,
pub name: String,
}
Expand description
A list of categories associated with a project.
Fields§
§index: usize
Unique identifier of the topic
name: String
Name of the category the project belongs to
Trait Implementations§
source§impl<'de> Deserialize<'de> for Topic
impl<'de> Deserialize<'de> for Topic
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Topic> for Topic
impl PartialEq<Topic> for Topic
impl Eq for Topic
impl StructuralEq for Topic
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more