pub(crate) struct MethodCall {
pub(crate) caller: String,
pub(crate) target_service: String,
pub(crate) target_method: String,
pub(crate) source_file: String,
pub(crate) line: usize,
}Expand description
A detected method-level call from one caller to a target service method.
Fields§
§caller: StringCaller module (service name or “cli:handlers”, “server:routes”, etc.)
target_service: StringTarget service
target_method: StringTarget method (snake_case)
source_file: StringSource file path (relative)
line: usizeLine number
Trait Implementations§
Source§impl Clone for MethodCall
impl Clone for MethodCall
Source§fn clone(&self) -> MethodCall
fn clone(&self) -> MethodCall
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 moreSource§impl Debug for MethodCall
impl Debug for MethodCall
Source§impl Ord for MethodCall
impl Ord for MethodCall
Source§fn cmp(&self, other: &MethodCall) -> Ordering
fn cmp(&self, other: &MethodCall) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MethodCall
impl PartialEq for MethodCall
Source§fn eq(&self, other: &MethodCall) -> bool
fn eq(&self, other: &MethodCall) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MethodCall
impl PartialOrd for MethodCall
impl Eq for MethodCall
impl StructuralPartialEq for MethodCall
Auto Trait Implementations§
impl Freeze for MethodCall
impl RefUnwindSafe for MethodCall
impl Send for MethodCall
impl Sync for MethodCall
impl Unpin for MethodCall
impl UnsafeUnpin for MethodCall
impl UnwindSafe for MethodCall
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