#[non_exhaustive]pub struct SchemaInfo {
pub version: u32,
pub fingerprint: String,
pub experimental_fingerprint: Option<String>,
pub compatibility_epoch: Option<u32>,
}Expand description
The schema pair in InitializeResult. version is the wire
envelope schema version — distinct from the session-view
schemaVersion, the raw-log schema_version, and the 0.x/1.0 stability
posture, which is not on the wire at all.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: u32Envelope schema version; 1 in v1, expected to stay 1 for a long
time.
fingerprint: Stringsha256:<64 lower hex> content hash of this server binary’s
stable-surface bundle. A mismatch is a warning condition, not an error.
experimental_fingerprint: Option<String>sha256:<64 lower hex> content hash of this server binary’s
experimental-surface bundle. Additive-optional: a host that predates the
member omits it, and the reader treats absence as unknown — never a
guessed value.
compatibility_epoch: Option<u32>The host’s declared compatibility epoch: the count of declared
non-additive advances of the stable surface. A client reads a
fingerprint mismatch by comparing this with its own pin: equal, every
difference is additive; different, a declared non-additive advance lies
between. Additive-optional: a host that predates the member omits it,
and the reader treats absence as unknown, never a guessed value.