Struct k8s_openapi::api::autoscaling::v1::CrossVersionObjectReference [−][src]
pub struct CrossVersionObjectReference {
pub api_version: Option<String>,
pub kind: String,
pub name: String,
}
Expand description
CrossVersionObjectReference contains enough information to let you identify the referred resource.
Fields
api_version: Option<String>
API version of the referent
kind: String
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds“
name: String
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
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 !=
.
Auto Trait Implementations
impl RefUnwindSafe for CrossVersionObjectReference
impl Send for CrossVersionObjectReference
impl Sync for CrossVersionObjectReference
impl Unpin for CrossVersionObjectReference
impl UnwindSafe for CrossVersionObjectReference
Blanket Implementations
Mutably borrows from an owned value. Read more