pub trait AdminObj {
// Required methods
fn create(owner: ObjectId, target: DeviceId, cmd: AdminCommand) -> Self;
fn target(&self) -> &DeviceId;
fn into_command(self) -> AdminCommand;
}
pub trait AdminObj {
// Required methods
fn create(owner: ObjectId, target: DeviceId, cmd: AdminCommand) -> Self;
fn target(&self) -> &DeviceId;
fn into_command(self) -> AdminCommand;
}