pub struct RankedBlock {
pub node: GraphNode,
pub score: f64,
pub influence_score: f64,
pub orchestration_score: f64,
pub name: String,
pub kind: BlockKind,
pub file_path: Option<String>,
}Expand description
Result from a PageRank computation.
Fields§
§node: GraphNode§score: f64Blended score based on the configured influence/orchestration weights.
influence_score: f64PageRank following DependsOn edges – highlights foundational building blocks.
orchestration_score: f64PageRank following DependedBy edges – highlights orchestrators/entry points.
name: String§kind: BlockKind§file_path: Option<String>Trait Implementations§
Source§impl Clone for RankedBlock
impl Clone for RankedBlock
Source§fn clone(&self) -> RankedBlock
fn clone(&self) -> RankedBlock
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 moreAuto Trait Implementations§
impl Freeze for RankedBlock
impl RefUnwindSafe for RankedBlock
impl Send for RankedBlock
impl Sync for RankedBlock
impl Unpin for RankedBlock
impl UnwindSafe for RankedBlock
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more