pub struct DeviceStatus {
pub config: Option<ConfigStatus>,
pub endpoints: HashMap<String, Option<ConfigError>>,
}
Expand description
Represents the observed status of a Device in the ADR Service.
Fields§
§config: Option<ConfigStatus>
The configuration status of the device.
endpoints: HashMap<String, Option<ConfigError>>
Defines the device status for inbound/outbound endpoints.
Trait Implementations§
Source§impl Clone for DeviceStatus
impl Clone for DeviceStatus
Source§fn clone(&self) -> DeviceStatus
fn clone(&self) -> DeviceStatus
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 DeviceStatus
impl Debug for DeviceStatus
Source§impl Default for DeviceStatus
impl Default for DeviceStatus
Source§fn default() -> DeviceStatus
fn default() -> DeviceStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeviceStatus
impl PartialEq for DeviceStatus
impl StructuralPartialEq for DeviceStatus
Auto Trait Implementations§
impl Freeze for DeviceStatus
impl RefUnwindSafe for DeviceStatus
impl Send for DeviceStatus
impl Sync for DeviceStatus
impl Unpin for DeviceStatus
impl UnwindSafe for DeviceStatus
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