Struct aws_sdk_batch::types::EksMetadata
source · #[non_exhaustive]pub struct EksMetadata {
pub labels: Option<HashMap<String, String>>,
}Expand description
Describes and uniquely identifies Kubernetes resources. For example, the compute environment that a pod runs in or the jobID for a job running in the pod. For more information, see Understanding Kubernetes Objects in the Kubernetes documentation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.labels: Option<HashMap<String, String>>Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
Implementations§
source§impl EksMetadata
impl EksMetadata
sourcepub fn labels(&self) -> Option<&HashMap<String, String>>
pub fn labels(&self) -> Option<&HashMap<String, String>>
Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
source§impl EksMetadata
impl EksMetadata
sourcepub fn builder() -> EksMetadataBuilder
pub fn builder() -> EksMetadataBuilder
Creates a new builder-style object to manufacture EksMetadata.
Trait Implementations§
source§impl Clone for EksMetadata
impl Clone for EksMetadata
source§fn clone(&self) -> EksMetadata
fn clone(&self) -> EksMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EksMetadata
impl Debug for EksMetadata
source§impl PartialEq for EksMetadata
impl PartialEq for EksMetadata
source§fn eq(&self, other: &EksMetadata) -> bool
fn eq(&self, other: &EksMetadata) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EksMetadata
Auto Trait Implementations§
impl Freeze for EksMetadata
impl RefUnwindSafe for EksMetadata
impl Send for EksMetadata
impl Sync for EksMetadata
impl Unpin for EksMetadata
impl UnwindSafe for EksMetadata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more