pub struct SystemStatus {
pub system: System,
pub partitions: Vec<Partition>,
pub sensors: Vec<Sensor>,
pub locks: Vec<Lock>,
pub garage_doors: Vec<GarageDoor>,
pub lights: Vec<Light>,
pub thermostats: Vec<Thermostat>,
}Expand description
A snapshot of the full system state.
Fields§
§system: System§partitions: Vec<Partition>§sensors: Vec<Sensor>§locks: Vec<Lock>§garage_doors: Vec<GarageDoor>§lights: Vec<Light>§thermostats: Vec<Thermostat>Trait Implementations§
Source§impl Clone for SystemStatus
impl Clone for SystemStatus
Source§fn clone(&self) -> SystemStatus
fn clone(&self) -> SystemStatus
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SystemStatus
impl RefUnwindSafe for SystemStatus
impl Send for SystemStatus
impl Sync for SystemStatus
impl Unpin for SystemStatus
impl UnsafeUnpin for SystemStatus
impl UnwindSafe for SystemStatus
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