Struct aws_sdk_eks::types::AddonVersionInfo
source · #[non_exhaustive]pub struct AddonVersionInfo {
pub addon_version: Option<String>,
pub architecture: Option<Vec<String>>,
pub compatibilities: Option<Vec<Compatibility>>,
pub requires_configuration: bool,
}Expand description
Information about an add-on version.
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.addon_version: Option<String>The version of the add-on.
architecture: Option<Vec<String>>The architectures that the version supports.
compatibilities: Option<Vec<Compatibility>>An object representing the compatibilities of a version.
requires_configuration: boolWhether the add-on requires configuration.
Implementations§
source§impl AddonVersionInfo
impl AddonVersionInfo
sourcepub fn addon_version(&self) -> Option<&str>
pub fn addon_version(&self) -> Option<&str>
The version of the add-on.
sourcepub fn architecture(&self) -> &[String]
pub fn architecture(&self) -> &[String]
The architectures that the version supports.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .architecture.is_none().
sourcepub fn compatibilities(&self) -> &[Compatibility]
pub fn compatibilities(&self) -> &[Compatibility]
An object representing the compatibilities of a version.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .compatibilities.is_none().
sourcepub fn requires_configuration(&self) -> bool
pub fn requires_configuration(&self) -> bool
Whether the add-on requires configuration.
source§impl AddonVersionInfo
impl AddonVersionInfo
sourcepub fn builder() -> AddonVersionInfoBuilder
pub fn builder() -> AddonVersionInfoBuilder
Creates a new builder-style object to manufacture AddonVersionInfo.
Trait Implementations§
source§impl Clone for AddonVersionInfo
impl Clone for AddonVersionInfo
source§fn clone(&self) -> AddonVersionInfo
fn clone(&self) -> AddonVersionInfo
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 AddonVersionInfo
impl Debug for AddonVersionInfo
source§impl PartialEq for AddonVersionInfo
impl PartialEq for AddonVersionInfo
source§fn eq(&self, other: &AddonVersionInfo) -> bool
fn eq(&self, other: &AddonVersionInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddonVersionInfo
Auto Trait Implementations§
impl RefUnwindSafe for AddonVersionInfo
impl Send for AddonVersionInfo
impl Sync for AddonVersionInfo
impl Unpin for AddonVersionInfo
impl UnwindSafe for AddonVersionInfo
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
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>
Creates a shared type from an unshared type.