pub enum MetadataFieldKind {
StringMap,
Name,
Namespace,
}Expand description
Kubernetes metadata.* field shape referenced by a values path.
The contract layer records the field category structurally from the rendered document path. JSON Schema lowering remains a generator policy.
Variants§
StringMap
metadata.labels and metadata.annotations.
Name
metadata.name.
Namespace
metadata.namespace.
Trait Implementations§
Source§impl Clone for MetadataFieldKind
impl Clone for MetadataFieldKind
Source§fn clone(&self) -> MetadataFieldKind
fn clone(&self) -> MetadataFieldKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetadataFieldKind
Source§impl Debug for MetadataFieldKind
impl Debug for MetadataFieldKind
impl Eq for MetadataFieldKind
Source§impl Hash for MetadataFieldKind
impl Hash for MetadataFieldKind
Source§impl Ord for MetadataFieldKind
impl Ord for MetadataFieldKind
Source§fn cmp(&self, other: &MetadataFieldKind) -> Ordering
fn cmp(&self, other: &MetadataFieldKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MetadataFieldKind
impl PartialEq for MetadataFieldKind
Source§impl PartialOrd for MetadataFieldKind
impl PartialOrd for MetadataFieldKind
impl StructuralPartialEq for MetadataFieldKind
Auto Trait Implementations§
impl Freeze for MetadataFieldKind
impl RefUnwindSafe for MetadataFieldKind
impl Send for MetadataFieldKind
impl Sync for MetadataFieldKind
impl Unpin for MetadataFieldKind
impl UnsafeUnpin for MetadataFieldKind
impl UnwindSafe for MetadataFieldKind
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