pub struct PageRankResult {
pub node_id: String,
pub user_id: Option<String>,
pub score: f64,
}Expand description
PageRank result for a single node.
Fields§
§node_id: StringInternal node identifier.
user_id: Option<String>User-defined node identifier (from the id property).
score: f64PageRank score (higher = more important).
Trait Implementations§
Source§impl Clone for PageRankResult
impl Clone for PageRankResult
Source§fn clone(&self) -> PageRankResult
fn clone(&self) -> PageRankResult
Returns a duplicate 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 PageRankResult
impl Debug for PageRankResult
Source§impl<'de> Deserialize<'de> for PageRankResult
impl<'de> Deserialize<'de> for PageRankResult
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 PageRankResult
impl RefUnwindSafe for PageRankResult
impl Send for PageRankResult
impl Sync for PageRankResult
impl Unpin for PageRankResult
impl UnwindSafe for PageRankResult
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