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.

The text of the definition.

An example to provide context for a definition, such as a conversation that the word can be used in.

The Id of the defintion.

A permanent link to the definition.

The number of thumbs down that the definition has received.

The number of thumbs up that the definition has received.

The word that was defined.

Trait Implementations

impl Clone for Definition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Definition
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Definition

impl Sync for Definition