pub struct Specified {
pub spec: String,
pub operation: String,
pub method: String,
pub path: String,
pub handler: String,
pub in_spec: bool,
pub mismatch: Option<String>,
pub probed: Option<bool>,
}Expand description
One registered route or tool and where it is accounted for.
Fields§
§spec: StringSpec file the route is registered against.
operation: StringOperation identity: operationId, GraphQL field, MCP tool name or channel.
method: StringVerb the code serves, or TOOL/QUERY/… for non-HTTP dialects.
path: StringPath or template the code serves.
handler: StringThe handler’s public path, as the registry records it.
in_spec: boolThe committed spec declares this operation with the method and path the code serves.
mismatch: Option<String>How the spec’s declaration of this operation disagrees with the code.
probed: Option<bool>Some probe exercises this method and path. None for a TOOL, which
no HTTP probe can reach.
Implementations§
Trait Implementations§
impl Eq for Specified
impl StructuralPartialEq for Specified
Auto Trait Implementations§
impl Forget for Specified
impl Freeze for Specified
impl Move for Specified
impl RefUnwindSafe for Specified
impl Send for Specifiedwhere
RawVecInner: Send,
impl Sync for Specifiedwhere
RawVecInner: Sync,
impl Unpin for Specified
impl UnsafeUnpin for Specified
impl UnwindSafe for Specifiedwhere
RawVecInner: UnwindSafe,
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