pub struct PathScore {
pub signal: f32,
pub proximity: f32,
pub capacity: f32,
pub energy: f32,
pub total: f32,
}Expand description
Path score breakdown for debugging/monitoring.
Fields§
§signal: f32Signal strength component (0-100).
proximity: f32Proximity/hops component (0-100).
capacity: f32Capacity component (0-100).
energy: f32Energy component (0-100).
total: f32Total weighted score.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathScore
impl RefUnwindSafe for PathScore
impl Send for PathScore
impl Sync for PathScore
impl Unpin for PathScore
impl UnsafeUnpin for PathScore
impl UnwindSafe for PathScore
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