pub struct PageRankUpdate {
pub rowid: u64,
pub old_importance: f32,
pub new_importance: f32,
pub pagerank_score: f64,
}Expand description
A PageRank-based importance update.
Fields§
§rowid: u64Memory row ID.
old_importance: f32Previous importance.
new_importance: f32New importance after PageRank boost.
pagerank_score: f64PageRank score (0.0–1.0).
Trait Implementations§
Source§impl Clone for PageRankUpdate
impl Clone for PageRankUpdate
Source§fn clone(&self) -> PageRankUpdate
fn clone(&self) -> PageRankUpdate
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 moreSource§impl Debug for PageRankUpdate
impl Debug for PageRankUpdate
Source§impl<'de> Deserialize<'de> for PageRankUpdate
impl<'de> Deserialize<'de> for PageRankUpdate
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
Auto Trait Implementations§
impl Freeze for PageRankUpdate
impl RefUnwindSafe for PageRankUpdate
impl Send for PageRankUpdate
impl Sync for PageRankUpdate
impl Unpin for PageRankUpdate
impl UnsafeUnpin for PageRankUpdate
impl UnwindSafe for PageRankUpdate
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