Struct jservice::Clue
[−]
[src]
pub struct Clue { pub id: u64, pub answer: String, pub question: String, pub value: Option<i32>, pub airdate: DateTime<UTC>, pub created_at: Option<DateTime<UTC>>, pub updated_at: Option<DateTime<UTC>>, pub category_id: u64, pub game_id: Option<u64>, pub invalid_count: Option<u32>, pub category: Option<Category>, }
A jService clue.
Fields
id: u64
The ID of the clue.
answer: String
The answer of the clue.
question: String
The question of the clue.
value: Option<i32>
The dollar value of the clue. If None, clue is a Daily Double.
airdate: DateTime<UTC>
The original air date of the clue.
created_at: Option<DateTime<UTC>>
When the clue was added to the database.
updated_at: Option<DateTime<UTC>>
When the clue was last updated.
category_id: u64
The ID of the category of the clue.
game_id: Option<u64>
invalid_count: Option<u32>
How many times the clue has been marked invalid by users.
category: Option<Category>
The category of the clue.
Trait Implementations
impl Clone for Clue
[src]
fn clone(&self) -> Clue
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