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