pub struct PageRankOptions {
pub damping: Option<f64>,
pub iterations: Option<usize>,
pub tolerance: Option<f64>,
pub label: Option<String>,
pub limit: Option<usize>,
}Expand description
What Client::graph_page_rank should compute.
Fields§
§damping: Option<f64>The damping factor, in [0, 1). The server’s default is 0.85.
iterations: Option<usize>The iteration bound. The server’s default is 20, capped at 100.
tolerance: Option<f64>The total change below which iteration stops.
label: Option<String>Follow only edges with this label.
limit: Option<usize>How many nodes to return. The server’s default is 20, capped at 1000.
Trait Implementations§
Source§impl Clone for PageRankOptions
impl Clone for PageRankOptions
Source§impl Debug for PageRankOptions
impl Debug for PageRankOptions
Source§impl Default for PageRankOptions
impl Default for PageRankOptions
Source§impl PartialEq for PageRankOptions
impl PartialEq for PageRankOptions
impl StructuralPartialEq for PageRankOptions
Auto Trait Implementations§
impl Freeze for PageRankOptions
impl RefUnwindSafe for PageRankOptions
impl Send for PageRankOptions
impl Sync for PageRankOptions
impl Unpin for PageRankOptions
impl UnsafeUnpin for PageRankOptions
impl UnwindSafe for PageRankOptions
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