pub struct ImpactCaller {
pub caller_symbol: String,
pub caller_file: String,
pub line: u32,
pub signature: Option<String>,
pub is_entry_point: bool,
pub call_expression: Option<String>,
pub parameters: Vec<String>,
}Expand description
A single caller in an impact analysis result.
Fields§
§caller_symbol: StringSymbol that calls the target.
caller_file: StringFile containing the caller (relative to project root).
line: u321-based line number of the call site.
signature: Option<String>Caller’s function/method signature, if available.
is_entry_point: boolWhether the caller is an entry point.
call_expression: Option<String>Source line at the call site (trimmed).
parameters: Vec<String>Parameter names extracted from the caller’s signature.
Trait Implementations§
Source§impl Clone for ImpactCaller
impl Clone for ImpactCaller
Source§fn clone(&self) -> ImpactCaller
fn clone(&self) -> ImpactCaller
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 moreSource§impl Debug for ImpactCaller
impl Debug for ImpactCaller
Auto Trait Implementations§
impl Freeze for ImpactCaller
impl RefUnwindSafe for ImpactCaller
impl Send for ImpactCaller
impl Sync for ImpactCaller
impl Unpin for ImpactCaller
impl UnsafeUnpin for ImpactCaller
impl UnwindSafe for ImpactCaller
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