From e1c5a009adca2d6d7d6d4cd44e0ae93640ef6439 Mon Sep 17 00:00:00 2001 From: Gregor Reitzenstein Date: Tue, 15 Sep 2020 15:29:55 +0200 Subject: [PATCH] Machines are a event transformer in a complex event networkwhile . --- src/machine.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/machine.rs b/src/machine.rs index e59a615..2d8dae1 100644 --- a/src/machine.rs +++ b/src/machine.rs @@ -88,10 +88,13 @@ impl MachineManager { } #[derive(PartialEq, Eq, Debug, Serialize, Deserialize)] +/// Internal machine representation +/// +/// A machine connects an event from a sensor to an actor activating/deactivating a real-world +/// machine, checking that the user who wants the machine (de)activated has the required +/// permissions. pub struct Machine { pub name: String, - pub location: String, - pub status: Status, pub perm: String, }