pub struct Find {
pub func: String,
pub effect: String,
pub hops: usize,
pub source: String,
pub source_loc: String,
pub benign_token: String,
pub score: i64,
}Expand description
A scored candidate reach. Generic over the caller’s effect-string type via owned String fields, so
the SAME struct serves candor-scan (&'static str maps) and candor-query (String maps).
Fields§
§func: String§effect: String§hops: usize§source: String§source_loc: String“file:line” of the effect SOURCE, resolved from the caller’s loc map (“” when absent).
benign_token: StringThe benign leaf token that made the reach surprising (“” when the leaf isn’t benign-named).
score: i64Auto Trait Implementations§
impl Freeze for Find
impl RefUnwindSafe for Find
impl Send for Find
impl Sync for Find
impl Unpin for Find
impl UnsafeUnpin for Find
impl UnwindSafe for Find
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