Struct aws_sdk_iotsitewise::types::PortalStatus
source · #[non_exhaustive]pub struct PortalStatus {
pub state: PortalState,
pub error: Option<MonitorErrorDetails>,
}Expand description
Contains information about the current status of a portal.
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.state: PortalStateThe current state of the portal.
error: Option<MonitorErrorDetails>Contains associated error information, if any.
Implementations§
source§impl PortalStatus
impl PortalStatus
sourcepub fn state(&self) -> &PortalState
pub fn state(&self) -> &PortalState
The current state of the portal.
sourcepub fn error(&self) -> Option<&MonitorErrorDetails>
pub fn error(&self) -> Option<&MonitorErrorDetails>
Contains associated error information, if any.
source§impl PortalStatus
impl PortalStatus
sourcepub fn builder() -> PortalStatusBuilder
pub fn builder() -> PortalStatusBuilder
Creates a new builder-style object to manufacture PortalStatus.
Trait Implementations§
source§impl Clone for PortalStatus
impl Clone for PortalStatus
source§fn clone(&self) -> PortalStatus
fn clone(&self) -> PortalStatus
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 PortalStatus
impl Debug for PortalStatus
source§impl PartialEq for PortalStatus
impl PartialEq for PortalStatus
source§fn eq(&self, other: &PortalStatus) -> bool
fn eq(&self, other: &PortalStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PortalStatus
Auto Trait Implementations§
impl RefUnwindSafe for PortalStatus
impl Send for PortalStatus
impl Sync for PortalStatus
impl Unpin for PortalStatus
impl UnwindSafe for PortalStatus
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.