pub struct RankedEntry {
pub word: String,
pub rank: u64,
}Expand description
Ranked word entry used by ranked payloads.
Fields§
§word: StringCase-insensitive lookup key.
rank: u64Rank or commonness score.
Trait Implementations§
Source§impl Clone for RankedEntry
impl Clone for RankedEntry
Source§impl Debug for RankedEntry
impl Debug for RankedEntry
Source§impl<'de> Deserialize<'de> for RankedEntry
impl<'de> Deserialize<'de> for RankedEntry
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 Eq for RankedEntry
Source§impl PartialEq for RankedEntry
impl PartialEq for RankedEntry
Source§impl Serialize for RankedEntry
impl Serialize for RankedEntry
impl StructuralPartialEq for RankedEntry
Auto Trait Implementations§
impl Forget for RankedEntry
impl Freeze for RankedEntry
impl Move for RankedEntry
impl RefUnwindSafe for RankedEntry
impl Send for RankedEntry
impl Sync for RankedEntry
impl Unpin for RankedEntry
impl UnsafeUnpin for RankedEntry
impl UnwindSafe for RankedEntry
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