pub enum GlobalLevel {
Coarsest,
Level(usize),
All,
}Expand description
Selects which hierarchy level’s community summaries a global/hybrid query answers from.
Variants§
Coarsest
Coarsest level only: communities with no parent. This covers every entity exactly once (each hierarchy subtree contributes its root) with the fewest, broadest summaries — the map-reduce default.
Level(usize)
Exactly the given level (0 is the base Leiden partition).
All
Every level’s summaries (broad overviews together with fine-grained base communities; costs more tokens).
Trait Implementations§
Source§impl Clone for GlobalLevel
impl Clone for GlobalLevel
Source§fn clone(&self) -> GlobalLevel
fn clone(&self) -> GlobalLevel
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 moreimpl Copy for GlobalLevel
Source§impl Debug for GlobalLevel
impl Debug for GlobalLevel
Source§impl Default for GlobalLevel
impl Default for GlobalLevel
Source§fn default() -> GlobalLevel
fn default() -> GlobalLevel
Returns the “default value” for a type. Read more
impl Eq for GlobalLevel
Source§impl PartialEq for GlobalLevel
impl PartialEq for GlobalLevel
impl StructuralPartialEq for GlobalLevel
Auto Trait Implementations§
impl Freeze for GlobalLevel
impl RefUnwindSafe for GlobalLevel
impl Send for GlobalLevel
impl Sync for GlobalLevel
impl Unpin for GlobalLevel
impl UnsafeUnpin for GlobalLevel
impl UnwindSafe for GlobalLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.