pub struct DeclaredOp {
pub operation: String,
pub method: String,
pub path: String,
}Expand description
One operation a spec declares.
Fields§
§operation: StringIdentity: operationId / GraphQL field / MCP tool / channel+verb.
method: StringHTTP verb, or QUERY/MUTATION/SUBSCRIPTION/PUBLISH/SUBSCRIBE/TOOL.
path: StringRoute path / field / tool / channel.
Trait Implementations§
Source§impl Clone for DeclaredOp
impl Clone for DeclaredOp
Source§impl Debug for DeclaredOp
impl Debug for DeclaredOp
Source§impl PartialEq for DeclaredOp
impl PartialEq for DeclaredOp
impl StructuralPartialEq for DeclaredOp
Auto Trait Implementations§
impl Freeze for DeclaredOp
impl RefUnwindSafe for DeclaredOp
impl Send for DeclaredOp
impl Sync for DeclaredOp
impl Unpin for DeclaredOp
impl UnsafeUnpin for DeclaredOp
impl UnwindSafe for DeclaredOp
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