Worker template

use gtk::prelude::{WidgetExt};
use relm4::*;

struct WorkerModel {

}

enum WorkerMsg {

}

impl Model for WorkerModel {
    type Msg = WorkerMsg;
    type Widgets = ();
    type Components = ();
}

impl ComponentUpdate<AppModel> for WorkerModel {
    fn init_model(_parent_model: &AppModel) -> Self {
        WorkerModel {

        }
    }

    fn update(
        &mut self,
        msg: WorkerMsg,
        _components: &(),
        sender: Sender<WorkerMsg>,
        parent_sender: Sender<AppMsg>,
    ) {
        match msg {

        }
    }
}