pub enum MetaDataFlag {
Definitions,
PartsOfSpeech,
SyllableCount,
Pronunciation(PronunciationFormat),
WordFrequency,
}
Expand description
This enum represents the various flags which can be set for retrieving metadata for each word. These metadata flags can be combined in any manner. Each is shortly described below
Variants§
Definitions
Provides definitions for each of the words in the response
PartsOfSpeech
Provides what type of speech each of the words in the response is
SyllableCount
Provides how many syllables each of the words in the response has
Pronunciation(PronunciationFormat)
Provides pronunciations for each of the words in the response based on the given pronunciation format
WordFrequency
Provides how frequently each of the words in the response is found
Trait Implementations§
Source§impl Clone for MetaDataFlag
impl Clone for MetaDataFlag
Source§fn clone(&self) -> MetaDataFlag
fn clone(&self) -> MetaDataFlag
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MetaDataFlag
impl Debug for MetaDataFlag
impl Copy for MetaDataFlag
Auto Trait Implementations§
impl Freeze for MetaDataFlag
impl RefUnwindSafe for MetaDataFlag
impl Send for MetaDataFlag
impl Sync for MetaDataFlag
impl Unpin for MetaDataFlag
impl UnwindSafe for MetaDataFlag
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