mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 14:57:56 +01:00
Machines are a event transformer in a complex event networkwhile .
This commit is contained in:
parent
7ffa2933e5
commit
e1c5a009ad
@ -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,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user