Function k8s_openapi::kind
source · pub fn kind<T>(_: &T) -> &'static strwhere
T: Resource,
Expand description
Extracts the kind of the given resource value.
This just returns the Resource::KIND
value for the argument’s type, but is useful when you already have a value
and don’t want to explicitly write its type.