pub struct KeyEntry {
pub key: &'static str,
pub value_type: ValueType,
}Expand description
Schema entry for a fixed key (top-level under an axis or a sub-key).
Keys with structural sub-paths (hardware.gpu.*,
hardware.limits.*) appear here as concrete sub-keys
(hardware.gpu.vendor, hardware.limits.max_concurrent_requests).
Indexed / keyed collections (software.model.<i>.*,
software.runtime.<name>) are matched via KeyShape patterns
rather than enumerated entries.
Fields§
§key: &'static strFull key under its axis, e.g. cpu_cores, gpu.vendor,
limits.max_concurrent_requests.
value_type: ValueTypeValue type per CAPABILITIES_SCHEMA.md.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyEntry
impl RefUnwindSafe for KeyEntry
impl Send for KeyEntry
impl Sync for KeyEntry
impl Unpin for KeyEntry
impl UnsafeUnpin for KeyEntry
impl UnwindSafe for KeyEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more