geoengine_api_client/models/
stroke_param.rs1use crate::models;
11use serde::{Deserialize, Serialize};
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct StrokeParam {
15 #[serde(rename = "color")]
16 pub color: Box<models::ColorParam>,
17 #[serde(rename = "width")]
18 pub width: Box<models::NumberParam>,
19}
20
21impl StrokeParam {
22 pub fn new(color: models::ColorParam, width: models::NumberParam) -> StrokeParam {
23 StrokeParam {
24 color: Box::new(color),
25 width: Box::new(width),
26 }
27 }
28}
29