Struct kube_core::dynamic::DynamicObject [−][src]
pub struct DynamicObject {
pub types: Option<TypeMeta>,
pub metadata: ObjectMeta,
pub data: Value,
}
Expand description
A dynamic representation of a kubernetes object
This will work with any non-list type object.
Fields
types: Option<TypeMeta>
The type fields, not always present
metadata: ObjectMeta
Object metadata
data: Value
All other keys
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
type DynamicType = ApiResource
type DynamicType = ApiResource
Type information for types that do not know their resource information at compile time. Read more
Returns group of this object
Returns version of this object
Returns kind of this object
Returns apiVersion of this object
Metadata that all persisted resources must have
Metadata that all persisted resources must have
Auto Trait Implementations
impl RefUnwindSafe for DynamicObject
impl Send for DynamicObject
impl Sync for DynamicObject
impl Unpin for DynamicObject
impl UnwindSafe for DynamicObject
Blanket Implementations
Mutably borrows from an owned value. Read more