pub struct Paraphrase {
pub input: String,
pub pronunciations: Vec<String>,
pub genders: Vec<String>,
}Expand description
The paraphrase of a word / phrase
Fields§
§input: String§pronunciations: Vec<String>§genders: Vec<String>Implementations§
Source§impl Paraphrase
impl Paraphrase
Sourcepub fn pronunciations_to_string(&self) -> String
pub fn pronunciations_to_string(&self) -> String
Get pronunciations as a String
Sourcepub fn genders_to_string(&self) -> String
pub fn genders_to_string(&self) -> String
Get genders as a String
Trait Implementations§
Source§impl Clone for Paraphrase
impl Clone for Paraphrase
Source§fn clone(&self) -> Paraphrase
fn clone(&self) -> Paraphrase
Returns a duplicate 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 Paraphrase
impl Debug for Paraphrase
Auto Trait Implementations§
impl Freeze for Paraphrase
impl RefUnwindSafe for Paraphrase
impl Send for Paraphrase
impl Sync for Paraphrase
impl Unpin for Paraphrase
impl UnwindSafe for Paraphrase
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