jacquard_api/pub_leaflet/theme/
background_image.rs

1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: pub.leaflet.theme.backgroundImage
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8#[jacquard_derive::lexicon]
9#[derive(
10    serde::Serialize,
11    serde::Deserialize,
12    Debug,
13    Clone,
14    PartialEq,
15    Eq,
16    jacquard_derive::IntoStatic,
17    bon::Builder
18)]
19#[serde(rename_all = "camelCase")]
20pub struct BackgroundImage<'a> {
21    #[serde(borrow)]
22    pub image: jacquard_common::types::blob::BlobRef<'a>,
23    #[serde(skip_serializing_if = "std::option::Option::is_none")]
24    #[builder(into)]
25    pub repeat: Option<bool>,
26    #[serde(skip_serializing_if = "std::option::Option::is_none")]
27    #[builder(into)]
28    pub width: Option<i64>,
29}