#[non_exhaustive]pub struct GatewayCapabilitySummary {
pub capability_namespace: String,
pub capability_sync_status: CapabilitySyncStatus,
}Expand description
Contains a summary of a gateway capability configuration.
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.capability_namespace: StringThe namespace of the capability configuration. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
capability_sync_status: CapabilitySyncStatusThe synchronization status of the capability configuration. The sync status can be one of the following:
-
IN_SYNC– The gateway is running the capability configuration. -
OUT_OF_SYNC– The gateway hasn't received the capability configuration. -
SYNC_FAILED– The gateway rejected the capability configuration.
Implementations§
source§impl GatewayCapabilitySummary
impl GatewayCapabilitySummary
sourcepub fn capability_namespace(&self) -> &str
pub fn capability_namespace(&self) -> &str
The namespace of the capability configuration. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
sourcepub fn capability_sync_status(&self) -> &CapabilitySyncStatus
pub fn capability_sync_status(&self) -> &CapabilitySyncStatus
The synchronization status of the capability configuration. The sync status can be one of the following:
-
IN_SYNC– The gateway is running the capability configuration. -
OUT_OF_SYNC– The gateway hasn't received the capability configuration. -
SYNC_FAILED– The gateway rejected the capability configuration.
source§impl GatewayCapabilitySummary
impl GatewayCapabilitySummary
sourcepub fn builder() -> GatewayCapabilitySummaryBuilder
pub fn builder() -> GatewayCapabilitySummaryBuilder
Creates a new builder-style object to manufacture GatewayCapabilitySummary.
Trait Implementations§
source§impl Clone for GatewayCapabilitySummary
impl Clone for GatewayCapabilitySummary
source§fn clone(&self) -> GatewayCapabilitySummary
fn clone(&self) -> GatewayCapabilitySummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GatewayCapabilitySummary
impl Debug for GatewayCapabilitySummary
source§impl PartialEq for GatewayCapabilitySummary
impl PartialEq for GatewayCapabilitySummary
source§fn eq(&self, other: &GatewayCapabilitySummary) -> bool
fn eq(&self, other: &GatewayCapabilitySummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GatewayCapabilitySummary
Auto Trait Implementations§
impl Freeze for GatewayCapabilitySummary
impl RefUnwindSafe for GatewayCapabilitySummary
impl Send for GatewayCapabilitySummary
impl Sync for GatewayCapabilitySummary
impl Unpin for GatewayCapabilitySummary
impl UnwindSafe for GatewayCapabilitySummary
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