Struct k8s_cluster_api::v1beta1::infrastructure::aws::AWSMachineTemplate [−][src]
pub struct AWSMachineTemplate {
pub metadata: ObjectMeta,
pub spec: AWSMachineTemplateSpec,
}
Expand description
Auto-generated derived type for AWSMachineTemplateSpec via CustomResource
Fields
metadata: ObjectMeta
spec: AWSMachineTemplateSpec
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 = ()
type DynamicType = ()
Type information for types that do not know their resource information at compile time. Read more
Returns apiVersion of this object
Metadata that all persisted resources must have
Metadata that all persisted resources must have
Creates a url path for http requests for this resource
fn object_ref(&self, dt: &Self::DynamicType) -> ObjectReference
fn object_ref(&self, dt: &Self::DynamicType) -> ObjectReference
Generates an object reference for the resource
Auto Trait Implementations
impl RefUnwindSafe for AWSMachineTemplate
impl Send for AWSMachineTemplate
impl Sync for AWSMachineTemplate
impl Unpin for AWSMachineTemplate
impl UnwindSafe for AWSMachineTemplate
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns the name of the resource, panicking if it is
missing. Use this function if you know that name is set, for example
when resource was received from the apiserver.
Because of .metadata.generateName
field, in other contexts name
may be missing. Read more
pub fn resource_version(&self) -> Option<String>
pub fn resource_version(&self) -> Option<String>
The resource version
Unique ID (if you delete resource and then create a new resource with the same name, it will have different ID) Read more
pub fn labels_mut(&mut self) -> &mut BTreeMap<String, String>
pub fn labels_mut(&mut self) -> &mut BTreeMap<String, String>
Provides mutable access to the labels
pub fn annotations(&self) -> &BTreeMap<String, String>
pub fn annotations(&self) -> &BTreeMap<String, String>
Returns resource annotations
pub fn annotations_mut(&mut self) -> &mut BTreeMap<String, String>
pub fn annotations_mut(&mut self) -> &mut BTreeMap<String, String>
Provider mutable access to the annotations
pub fn owner_references(&self) -> &[OwnerReference]
pub fn owner_references(&self) -> &[OwnerReference]
Returns resource owner references
pub fn owner_references_mut(&mut self) -> &mut Vec<OwnerReference, Global>ⓘ
pub fn owner_references_mut(&mut self) -> &mut Vec<OwnerReference, Global>ⓘ
Provides mutable access to the owner references
pub fn finalizers(&self) -> &[String]
pub fn finalizers(&self) -> &[String]
Returns resource finalizers
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more