Struct urbandictionary::model::Definition [−][src]
pub struct Definition { pub author: String, pub definition: String, pub example: String, pub id: u64, pub permalink: String, pub thumbs_down: u64, pub thumbs_up: u64, pub word: String, }
A definition and example for a word, including metadata such as the author's name and the definition's rating.
Fields
The name of the user who authored the definition.
definition: String
The text of the definition.
example: String
An example to provide context for a definition, such as a conversation that the word can be used in.
id: u64
The Id of the defintion.
permalink: String
A permanent link to the definition.
thumbs_down: u64
The number of thumbs down that the definition has received.
thumbs_up: u64
The number of thumbs up that the definition has received.
word: String
The word that was defined.
Trait Implementations
impl Clone for Definition
[src]
impl Clone for Definition
fn clone(&self) -> Definition
[src]
fn clone(&self) -> Definition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Definition
[src]
impl Debug for Definition
Auto Trait Implementations
impl Send for Definition
impl Send for Definition
impl Sync for Definition
impl Sync for Definition