pub struct Guess {
pub id: String,
pub name: String,
pub award_id: String,
pub flag_photo: usize,
pub confidence: String,
pub description: String,
pub ranking: String,
pub picture_path: String,
pub absolute_picture_path: String,
}Expand description
represents a guess that the akinator makes at the end of the game
Fields§
§id: Stringthe unique id of the guess
name: Stringthe name of the guess
award_id: String§flag_photo: usize§confidence: Stringthe akinator’s confidence level / probability that this guess is accurate
description: Stringa brief desription of the guess
ranking: Stringthe ranking place of the guess
picture_path: Stringthe relative url to the image of the guess
absolute_picture_path: Stringthe absolute url to the image of the guess
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Guess
impl<'de> Deserialize<'de> for Guess
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
impl Eq for Guess
impl StructuralPartialEq for Guess
Auto Trait Implementations§
impl Freeze for Guess
impl RefUnwindSafe for Guess
impl Send for Guess
impl Sync for Guess
impl Unpin for Guess
impl UnwindSafe for Guess
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.