Struct k8s_openapi::apimachinery::pkg::apis::meta::v1::APIResourceList
source · [−]pub struct APIResourceList {
pub group_version: String,
pub resources: Vec<APIResource>,
}
Expand description
APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
Fields
group_version: String
groupVersion is the group and version this APIResourceList is for.
resources: Vec<APIResource>
resources contains the name of the resources and if they are namespaced.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
The API version of the resource. This is a composite of Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read more
The group of the resource, or the empty string if the resource doesn’t have a group.
The URL path segment used to construct URLs related to this resource. Read more
type Scope = ClusterResourceScope
type Scope = ClusterResourceScope
Indicates whether the resource is namespace-scoped or cluster-scoped or a subresource. Read more
Auto Trait Implementations
impl RefUnwindSafe for APIResourceList
impl Send for APIResourceList
impl Sync for APIResourceList
impl Unpin for APIResourceList
impl UnwindSafe for APIResourceList
Blanket Implementations
Mutably borrows from an owned value. Read more