pub enum AlgoDir {
Out,
In,
Both,
}Expand description
Direction semantics for algo methods (mirrors Dir but serializable).
Variants§
Out
Follow outgoing edges only (standard directed PageRank / out-degree).
In
Follow incoming edges only (in-degree / authority score).
Both
Treat edges as undirected: Out ∪ In.
Trait Implementations§
impl Copy for AlgoDir
Source§impl<'de> Deserialize<'de> for AlgoDir
impl<'de> Deserialize<'de> for AlgoDir
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
impl Eq for AlgoDir
impl StructuralPartialEq for AlgoDir
Auto Trait Implementations§
impl Freeze for AlgoDir
impl RefUnwindSafe for AlgoDir
impl Send for AlgoDir
impl Sync for AlgoDir
impl Unpin for AlgoDir
impl UnsafeUnpin for AlgoDir
impl UnwindSafe for AlgoDir
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