[][src]Function k8s_openapi::kind

pub fn kind<T>(_: &T) -> &'static str where
    T: Resource

Extracts the kind of the given resource value.

This just forwards to the value's impl of Resource::kind but is useful when you already have a value and don't want to explicitly write its type.