1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use serde::{Deserialize, Serialize};
use crate::layouts::Layout;
use crate::models::Size;
#[derive(Serialize, Default, Deserialize, Debug, Clone, PartialEq)]
pub struct Workspace {
pub x: i32,
pub y: i32,
pub height: i32,
pub width: i32,
pub output: String,
pub relative: Option<bool>,
pub max_window_width: Option<Size>,
pub layouts: Option<Vec<Layout>>,
}