Struct aws_sdk_emrcontainers::types::ContainerProvider
source · #[non_exhaustive]pub struct ContainerProvider {
pub type: Option<ContainerProviderType>,
pub id: Option<String>,
pub info: Option<ContainerInfo>,
}Expand description
The information about the container provider.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: Option<ContainerProviderType>The type of the container provider. Amazon EKS is the only supported type as of now.
id: Option<String>The ID of the container cluster.
info: Option<ContainerInfo>The information about the container cluster.
Implementations§
source§impl ContainerProvider
impl ContainerProvider
sourcepub fn type(&self) -> Option<&ContainerProviderType>
pub fn type(&self) -> Option<&ContainerProviderType>
The type of the container provider. Amazon EKS is the only supported type as of now.
sourcepub fn info(&self) -> Option<&ContainerInfo>
pub fn info(&self) -> Option<&ContainerInfo>
The information about the container cluster.
source§impl ContainerProvider
impl ContainerProvider
sourcepub fn builder() -> ContainerProviderBuilder
pub fn builder() -> ContainerProviderBuilder
Creates a new builder-style object to manufacture ContainerProvider.
Trait Implementations§
source§impl Clone for ContainerProvider
impl Clone for ContainerProvider
source§fn clone(&self) -> ContainerProvider
fn clone(&self) -> ContainerProvider
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ContainerProvider
impl Debug for ContainerProvider
source§impl PartialEq<ContainerProvider> for ContainerProvider
impl PartialEq<ContainerProvider> for ContainerProvider
source§fn eq(&self, other: &ContainerProvider) -> bool
fn eq(&self, other: &ContainerProvider) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContainerProvider
Auto Trait Implementations§
impl RefUnwindSafe for ContainerProvider
impl Send for ContainerProvider
impl Sync for ContainerProvider
impl Unpin for ContainerProvider
impl UnwindSafe for ContainerProvider
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
Mutably borrows from an owned value. Read more