pub struct DictEntry {Show 20 fields
pub id: String,
pub word: String,
pub word_lower: String,
pub phonetic_uk: Option<String>,
pub phonetic_us: Option<String>,
pub definitions: Vec<Definition>,
pub pos: Vec<String>,
pub collins_star: u8,
pub oxford_3000: bool,
pub tags: Vec<String>,
pub freq_bnc: Option<u32>,
pub freq_coca: Option<u32>,
pub exchanges: Vec<Exchange>,
pub examples: Vec<Example>,
pub synonyms: Vec<Synonym>,
pub phrases: Vec<Phrase>,
pub related_words: Vec<RelatedWord>,
pub mnemonic: Option<String>,
pub source: DictSource,
pub extra: Value,
}Fields§
§id: String§word: String§word_lower: String§phonetic_uk: Option<String>§phonetic_us: Option<String>§definitions: Vec<Definition>§pos: Vec<String>§collins_star: u8§oxford_3000: bool§freq_bnc: Option<u32>§freq_coca: Option<u32>§exchanges: Vec<Exchange>§examples: Vec<Example>§synonyms: Vec<Synonym>§phrases: Vec<Phrase>§mnemonic: Option<String>§source: DictSource§extra: ValueImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DictEntry
impl<'de> Deserialize<'de> for DictEntry
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 StructuralPartialEq for DictEntry
Auto Trait Implementations§
impl Freeze for DictEntry
impl RefUnwindSafe for DictEntry
impl Send for DictEntry
impl Sync for DictEntry
impl Unpin for DictEntry
impl UnsafeUnpin for DictEntry
impl UnwindSafe for DictEntry
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