#[non_exhaustive]pub struct DescribeGatewayOutput {
pub gateway_id: String,
pub gateway_name: String,
pub gateway_arn: String,
pub gateway_platform: Option<GatewayPlatform>,
pub gateway_capability_summaries: Vec<GatewayCapabilitySummary>,
pub creation_date: DateTime,
pub last_update_date: DateTime,
/* private fields */
}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.gateway_id: StringThe ID of the gateway device.
gateway_name: StringThe name of the gateway.
gateway_arn: StringThe ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
gateway_platform: Option<GatewayPlatform>The gateway's platform.
gateway_capability_summaries: Vec<GatewayCapabilitySummary>A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
creation_date: DateTimeThe date the gateway was created, in Unix epoch time.
last_update_date: DateTimeThe date the gateway was last updated, in Unix epoch time.
Implementations§
source§impl DescribeGatewayOutput
impl DescribeGatewayOutput
sourcepub fn gateway_id(&self) -> &str
pub fn gateway_id(&self) -> &str
The ID of the gateway device.
sourcepub fn gateway_name(&self) -> &str
pub fn gateway_name(&self) -> &str
The name of the gateway.
sourcepub fn gateway_arn(&self) -> &str
pub fn gateway_arn(&self) -> &str
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
sourcepub fn gateway_platform(&self) -> Option<&GatewayPlatform>
pub fn gateway_platform(&self) -> Option<&GatewayPlatform>
The gateway's platform.
sourcepub fn gateway_capability_summaries(&self) -> &[GatewayCapabilitySummary]
pub fn gateway_capability_summaries(&self) -> &[GatewayCapabilitySummary]
A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
sourcepub fn creation_date(&self) -> &DateTime
pub fn creation_date(&self) -> &DateTime
The date the gateway was created, in Unix epoch time.
sourcepub fn last_update_date(&self) -> &DateTime
pub fn last_update_date(&self) -> &DateTime
The date the gateway was last updated, in Unix epoch time.
source§impl DescribeGatewayOutput
impl DescribeGatewayOutput
sourcepub fn builder() -> DescribeGatewayOutputBuilder
pub fn builder() -> DescribeGatewayOutputBuilder
Creates a new builder-style object to manufacture DescribeGatewayOutput.
Trait Implementations§
source§impl Clone for DescribeGatewayOutput
impl Clone for DescribeGatewayOutput
source§fn clone(&self) -> DescribeGatewayOutput
fn clone(&self) -> DescribeGatewayOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeGatewayOutput
impl Debug for DescribeGatewayOutput
source§impl PartialEq for DescribeGatewayOutput
impl PartialEq for DescribeGatewayOutput
source§fn eq(&self, other: &DescribeGatewayOutput) -> bool
fn eq(&self, other: &DescribeGatewayOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeGatewayOutput
impl RequestId for DescribeGatewayOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DescribeGatewayOutput
Auto Trait Implementations§
impl Freeze for DescribeGatewayOutput
impl RefUnwindSafe for DescribeGatewayOutput
impl Send for DescribeGatewayOutput
impl Sync for DescribeGatewayOutput
impl Unpin for DescribeGatewayOutput
impl UnwindSafe for DescribeGatewayOutput
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