pub struct KindMeta {
pub kind: ResourceKind,
pub domain: Domain,
pub collection_path: &'static str,
pub dir_name: &'static str,
pub channel: Channel,
pub volatile_fields: &'static [&'static str],
pub read_only_fields: &'static [&'static str],
pub secret_fields: &'static [&'static str],
pub write_only_fields: &'static [&'static str],
pub sidecar_fields: &'static [&'static str],
pub reference_fields: &'static [RefField],
pub immutable_fields: &'static [&'static str],
}Expand description
Declarative metadata for one resource kind.
Fields§
§kind: ResourceKind§domain: Domain§collection_path: &'static strAPI collection path (exact casing as the REST API expects).
dir_name: &'static strDirectory name on disk, relative to the project’s search/ or foundry/ dir.
channel: ChannelMinimum channel required for the kind itself.
volatile_fields: &'static [&'static str]Stripped on pull and ignored in diff (dot paths, applied at any depth
for @odata.*; top-level otherwise).
read_only_fields: &'static [&'static str]Returned by GET but rejected by PUT — never written to files.
secret_fields: &'static [&'static str]Paths that may carry key material — validation rejects files where these contain anything but identity-based placeholders.
write_only_fields: &'static [&'static str]Fields the server accepts on PUT but never returns on GET (redacted). Kept in local files, sent on push, excluded from comparisons.
sidecar_fields: &'static [&'static str]String fields extracted to Markdown sidecars on pull by default.
reference_fields: &'static [RefField]How this kind references other resources.
immutable_fields: &'static [&'static str]Fields the service will not change in place — a differing local value
means an in-place PUT cannot reconcile the documents and the resource
must be deleted and re-created (rigg push shows replace).