Struct rake::KeywordScore
source · pub struct KeywordScore {
pub keyword: String,
pub score: f64,
}
Expand description
Represents a keyword score
Fields§
§keyword: String
The keyword
score: f64
The score of keyword
Implementations§
source§impl KeywordScore
impl KeywordScore
Trait Implementations§
source§impl Clone for KeywordScore
impl Clone for KeywordScore
source§fn clone(&self) -> KeywordScore
fn clone(&self) -> KeywordScore
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 KeywordScore
impl Debug for KeywordScore
source§impl<'de> Deserialize<'de> for KeywordScore
impl<'de> Deserialize<'de> for KeywordScore
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
source§impl Ord for KeywordScore
impl Ord for KeywordScore
source§impl PartialEq for KeywordScore
impl PartialEq for KeywordScore
source§impl PartialOrd for KeywordScore
impl PartialOrd for KeywordScore
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for KeywordScore
impl Serialize for KeywordScore
impl Eq for KeywordScore
Auto Trait Implementations§
impl Freeze for KeywordScore
impl RefUnwindSafe for KeywordScore
impl Send for KeywordScore
impl Sync for KeywordScore
impl Unpin for KeywordScore
impl UnwindSafe for KeywordScore
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