Skip to main content
Glama
versioned.rs499 B
use crate::id::RequestId; /// A unique version of a message type. /// /// Note: all versions of a message type are tracked via a type that implements `AllVersions`. pub trait Versioned { /// A unique identifier representing a single message in a system. fn id(&self) -> RequestId; /// The message version for this type. fn message_version() -> u64; /// The message version for this message. #[inline] fn version(&self) -> u64 { Self::message_version() } }

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