Struct aws_sdk_iotsitewise::types::GatewayPlatform
source · #[non_exhaustive]pub struct GatewayPlatform {
pub greengrass: Option<Greengrass>,
pub greengrass_v2: Option<GreengrassV2>,
}Expand description
Contains a gateway's platform information.
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.greengrass: Option<Greengrass>A gateway that runs on IoT Greengrass.
greengrass_v2: Option<GreengrassV2>A gateway that runs on IoT Greengrass V2.
Implementations§
source§impl GatewayPlatform
impl GatewayPlatform
sourcepub fn greengrass(&self) -> Option<&Greengrass>
pub fn greengrass(&self) -> Option<&Greengrass>
A gateway that runs on IoT Greengrass.
sourcepub fn greengrass_v2(&self) -> Option<&GreengrassV2>
pub fn greengrass_v2(&self) -> Option<&GreengrassV2>
A gateway that runs on IoT Greengrass V2.
source§impl GatewayPlatform
impl GatewayPlatform
sourcepub fn builder() -> GatewayPlatformBuilder
pub fn builder() -> GatewayPlatformBuilder
Creates a new builder-style object to manufacture GatewayPlatform.
Trait Implementations§
source§impl Clone for GatewayPlatform
impl Clone for GatewayPlatform
source§fn clone(&self) -> GatewayPlatform
fn clone(&self) -> GatewayPlatform
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 GatewayPlatform
impl Debug for GatewayPlatform
source§impl PartialEq for GatewayPlatform
impl PartialEq for GatewayPlatform
source§fn eq(&self, other: &GatewayPlatform) -> bool
fn eq(&self, other: &GatewayPlatform) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GatewayPlatform
Auto Trait Implementations§
impl RefUnwindSafe for GatewayPlatform
impl Send for GatewayPlatform
impl Sync for GatewayPlatform
impl Unpin for GatewayPlatform
impl UnwindSafe for GatewayPlatform
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.