#[non_exhaustive]pub struct OpCapability {
pub name: String,
pub path: String,
pub mcp_tool: String,
pub mcp_tier: OpCapabilityMcpTier,
pub required_role: String,
pub budget_p99_ms: Integer,
pub idempotent: bool,
pub audit: bool,
pub request_fields: Vec<String>,
pub response_fields: Vec<String>,
pub toolsets: Vec<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§path: String§mcp_tool: String§mcp_tier: OpCapabilityMcpTier§required_role: String§budget_p99_ms: Integer§idempotent: bool§audit: bool§request_fields: Vec<String>§response_fields: Vec<String>§toolsets: Vec<String>Trait Implementations§
Source§impl Clone for OpCapability
impl Clone for OpCapability
Source§impl Debug for OpCapability
impl Debug for OpCapability
Source§impl<'de> Deserialize<'de> for OpCapability
impl<'de> Deserialize<'de> for OpCapability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OpCapability
impl PartialEq for OpCapability
Source§impl Serialize for OpCapability
impl Serialize for OpCapability
impl StructuralPartialEq for OpCapability
Auto Trait Implementations§
impl Forget for OpCapability
impl Freeze for OpCapability
impl Move for OpCapability
impl RefUnwindSafe for OpCapability
impl Send for OpCapability
impl Sync for OpCapability
impl Unpin for OpCapability
impl UnsafeUnpin for OpCapability
impl UnwindSafe for OpCapability
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