pub struct ContentScore {
pub score: f64,
pub element_id: String,
}Expand description
Score for content elements
Fields§
§score: f64§element_id: StringTrait Implementations§
Source§impl Clone for ContentScore
impl Clone for ContentScore
Source§fn clone(&self) -> ContentScore
fn clone(&self) -> ContentScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContentScore
impl RefUnwindSafe for ContentScore
impl Send for ContentScore
impl Sync for ContentScore
impl Unpin for ContentScore
impl UnsafeUnpin for ContentScore
impl UnwindSafe for ContentScore
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