figma_schema/rectangle.rs
1use serde::{Deserialize, Serialize};
2
3/// [Figma documentation](https://www.figma.com/developers/api#rectangle-type)
4#[derive(Debug, Deserialize, Serialize, Clone)]
5#[typeshare::typeshare]
6pub struct Rectangle {
7 pub x: Option<f64>,
8 pub y: Option<f64>,
9 pub width: Option<f64>,
10 pub height: Option<f64>,
11}