Skip to main content
Glama
05-node_weight-versioned-wrong-fields-on-enum-variant-fail.rs617 B
pub struct InnerType; pub trait SiVersionedNodeWeight { type Inner; fn inner(&self) -> &Self::Inner; fn inner_mut(&mut self) -> &mut Self::Inner; } #[derive(dal_macros::SiVersionedNodeWeight)] pub enum VersionedNodeWeight { #[si_versioned_node_weight(current)] V1(InnerType), #[si_versioned_node_weight(current)] V2(InnerType, InnerType), #[si_versioned_node_weight(current)] V3 { inner: InnerType, }, #[si_versioned_node_weight(current)] V4, V5, V6(InnerType), V7(InnerType, InnerType), V8 { inner: InnerType, }, } fn main() {}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server