pub struct TargetView {
pub key: String,
pub kind: &'static str,
pub transport: String,
pub id: Option<String>,
pub module: String,
pub case: Option<String>,
pub cached: bool,
pub tool: Option<String>,
pub route: Option<String>,
}Expand description
One benchmark target.
Fields§
§key: String<id>|<transport>|<case> or system.<transport>.<name>.
kind: &'static strcapability, system or page.
transport: StringThe transport.
id: Option<String>The capability id, for a capability target.
module: StringThe module, or system.
case: Option<String>The case name, for a capability target.
cached: boolMeasured cold and warm as well as uncached.
tool: Option<String>The MCP tool name, on the MCP transport.
route: Option<String>METHOD /path, on the HTTP transport.
Trait Implementations§
Source§impl Clone for TargetView
impl Clone for TargetView
Source§fn clone(&self) -> TargetView
fn clone(&self) -> TargetView
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 TargetView
impl Debug for TargetView
Auto Trait Implementations§
impl Freeze for TargetView
impl RefUnwindSafe for TargetView
impl Send for TargetView
impl Sync for TargetView
impl Unpin for TargetView
impl UnsafeUnpin for TargetView
impl UnwindSafe for TargetView
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