[][src]Enum datamuse_api_wrapper::RelatedType

pub enum RelatedType {
    NounModifiedBy,
    AdjectiveModifier,
    Synonym,
    Trigger,
    Antonym,
    KindOf,
    MoreGeneral,
    Comprises,
    PartOf,
    Follower,
    Predecessor,
    Rhyme,
    ApproximateRhyme,
    Homophones,
    ConsonantMatch,
}

This enum represents the different possibilites the "Related" parameter can take. These parameters can be combined in any possible configuration, although very specific queries can limit results. Each option is shortly explained below. For more detailed information for each type visit the Datamuse website

Variants

NounModifiedBy

This parameter returns nouns that are typically modified by the given adjective

AdjectiveModifier

This parameter returns adjectives that typically modify by the given noun

Synonym

This parameter returns synonyms for the given word

Trigger

This parameter returns associated words for the given word

Antonym

This parameter returns antonyms for the given word

KindOf

This parameter returns the kind of which a more specific word is

MoreGeneral

This parameter returns a more specific kind of the given category word (opposite of KindOf)

Comprises

This parameter returns words that describe things which the given word is comprised of

PartOf

This parameter returns words that describe things which the given word is a part of (opposite of Comprises)

Follower

This parameter returns words that are typically found after the given word

Predecessor

This parameter returns words that are typically found before the given word

Rhyme

This parameter returns words that rhyme with the given word

ApproximateRhyme

This parameter returns words that almost rhyme with the given word

Homophones

This parameter returns words that sound like the given word

ConsonantMatch

This parameter returns words which have matching consonants but differing vowels from the given word

Trait Implementations

impl Clone for RelatedType[src]

impl Copy for RelatedType[src]

impl Debug for RelatedType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.