pub struct Call {
pub method: Method,
pub name: Option<String>,
}Expand description
The call being priced, as known from its (trusted) headers.
name must already be decoded from the Mcp-Name sentinel form.
Fields§
§method: MethodMCP method whose delivered work is being priced.
name: Option<String>Decoded Mcp-Name, when the method carries one.
Implementations§
Trait Implementations§
impl Eq for Call
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnsafeUnpin for Call
impl UnwindSafe for Call
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