pub struct TraceQuery {
pub function_name: String,
pub direction: TraceDirection,
pub max_depth: usize,
pub base_dir: Option<PathBuf>,
pub exclude_patterns: Vec<String>,
}Expand description
Query parameters for tracing
Fields§
§function_name: String§direction: TraceDirection§max_depth: usize§base_dir: Option<PathBuf>§exclude_patterns: Vec<String>Implementations§
Source§impl TraceQuery
impl TraceQuery
pub fn new( function_name: String, direction: TraceDirection, max_depth: usize, ) -> Self
pub fn with_base_dir(self, base_dir: PathBuf) -> Self
pub fn with_exclusions(self, exclusions: Vec<String>) -> Self
Trait Implementations§
Source§impl Clone for TraceQuery
impl Clone for TraceQuery
Source§fn clone(&self) -> TraceQuery
fn clone(&self) -> TraceQuery
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 TraceQuery
impl RefUnwindSafe for TraceQuery
impl Send for TraceQuery
impl Sync for TraceQuery
impl Unpin for TraceQuery
impl UnwindSafe for TraceQuery
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