Struct aws_sdk_greengrassv2::types::ComponentPlatform
source · #[non_exhaustive]pub struct ComponentPlatform {
pub name: Option<String>,
pub attributes: Option<HashMap<String, String>>,
}Expand description
Contains information about a platform that a component supports.
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.name: Option<String>The friendly name of the platform. This name helps you identify the platform.
If you omit this parameter, IoT Greengrass creates a friendly name from the os and architecture of the platform.
attributes: Option<HashMap<String, String>>A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os and architecture by default. You can specify additional platform attributes for a core device when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.
Implementations§
source§impl ComponentPlatform
impl ComponentPlatform
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The friendly name of the platform. This name helps you identify the platform.
If you omit this parameter, IoT Greengrass creates a friendly name from the os and architecture of the platform.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os and architecture by default. You can specify additional platform attributes for a core device when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.
source§impl ComponentPlatform
impl ComponentPlatform
sourcepub fn builder() -> ComponentPlatformBuilder
pub fn builder() -> ComponentPlatformBuilder
Creates a new builder-style object to manufacture ComponentPlatform.
Trait Implementations§
source§impl Clone for ComponentPlatform
impl Clone for ComponentPlatform
source§fn clone(&self) -> ComponentPlatform
fn clone(&self) -> ComponentPlatform
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ComponentPlatform
impl Debug for ComponentPlatform
source§impl PartialEq for ComponentPlatform
impl PartialEq for ComponentPlatform
impl StructuralPartialEq for ComponentPlatform
Auto Trait Implementations§
impl Freeze for ComponentPlatform
impl RefUnwindSafe for ComponentPlatform
impl Send for ComponentPlatform
impl Sync for ComponentPlatform
impl Unpin for ComponentPlatform
impl UnwindSafe for ComponentPlatform
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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