Struct jservice::Category
[−]
[src]
pub struct Category {
pub id: u64,
pub title: String,
pub created_at: Option<DateTime<UTC>>,
pub updated_at: Option<DateTime<UTC>>,
pub clues_count: u32,
pub clues: Option<Vec<Clue>>,
}A jService category.
Fields
id: u64
The ID of the category.
title: String
The title of the category.
created_at: Option<DateTime<UTC>>
When the category was added to the database.
updated_at: Option<DateTime<UTC>>
When the category was last updated.
clues_count: u32
How many clues belong to the category.
clues: Option<Vec<Clue>>
All of the clues that belong to this category.
Trait Implementations
impl Clone for Category[src]
fn clone(&self) -> Category
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more