pub enum EndPoint {
Words,
Suggest,
}
Expand description
This enum represents the different endpoints of the Datamuse api. The “words” endpoint returns word lists based on a set of parameters, whereas the “suggest” endpoint returns suggestions for words based on a hint string (autocomplete). For more detailed information visit the Datamuse website
Variants§
Words
The “words” endpoint (the official endpoint is also “/words”)
Suggest
The “suggest” endpoint (the official endpoint is “/sug”)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EndPoint
impl RefUnwindSafe for EndPoint
impl Send for EndPoint
impl Sync for EndPoint
impl Unpin for EndPoint
impl UnwindSafe for EndPoint
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