pub struct UnionVariant {Show 18 fields
pub name: String,
pub type_name: String,
pub description: String,
pub scope: String,
pub scope_exempt: bool,
pub cli_hidden: bool,
pub doc_example: String,
pub vfs_path: String,
pub vfs_kind: String,
pub vfs_bulk: bool,
pub vfs_hidden: bool,
pub vfs_mac: String,
pub dispatch_mac: String,
pub dispatch_mac_present: bool,
pub dispatch_public: String,
pub dispatch_public_present: bool,
pub mutation_semantics: String,
pub mutation_semantics_present: bool,
}Fields§
§name: String§type_name: String§description: String§scope: StringAuthorization action from $scope/$capability (e.g. “write”). Empty
only when scope_exempt is true (S3, #547): every other method must
declare a scope or the build fails.
scope_exempt: boolExplicit, audited exemption from mandatory scope ($scopeExempt, S3 #547).
True iff the method declares $scopeExempt("<reason>") instead of a scope.
Whether this method is hidden from CLI (internal-only).
doc_example: StringVFS usage example from $docExample annotation. Empty = no example.
vfs_path: StringMount-relative VFS path from $vfsPath (epic #539, T1). Empty = unset
(the mount generator, T2, infers a default from scope + arg shape).
vfs_kind: StringVFS node kind override from $vfsKind — the enumerant name
(“file”/“dir”/“ctl”/“stream”/“query”). Empty = unset (kind is inferred).
vfs_bulk: bool$vfsBulk: read path returns raw mmap bytes, bypassing capnp (DMA path).
$vfsHidden: exclude this method from the generated mount.
vfs_mac: String$vfsMac annotation text — the MAC security label this generated node
carries (#699 carrier (a); a property of the node’s type, derived at
generation). Empty = unset ⇒ the node is unlabeled ⇒ deny ⇒ a
genesis-coverage finding (no permissive default).
dispatch_mac: String$dispatchMac annotation text — the method’s target dispatch MAC label
in the strict <level>:<assurance>[:<compartments>] grammar (v16 §6,
WS-D). Empty = not declared (a leaf with neither dispatch annotation is
a build error; a scoped dispatcher carries neither).
dispatch_mac_present: boolWhether $dispatchMac was present, including an explicitly empty value.
dispatch_public: String$dispatchPublic annotation text — the mandatory, reviewable reason a
leaf may be dispatched unauthenticated (v16 §6). Empty = not declared.
Expands to exactly system low; public is never inherited.
dispatch_public_present: boolWhether $dispatchPublic was present, including an explicitly empty value.
mutation_semantics: String$mutationSemantics declaration for a mutating leaf (v16 §4.8/§6.1).
Empty only for read-class, scope-exempt, or dispatcher variants.
mutation_semantics_present: boolWhether $mutationSemantics was present, including an explicitly empty value.