Struct ftd::Common [−][src]
pub struct Common {Show 71 fields
pub conditional_attribute: BTreeMap<String, ConditionalAttribute>,
pub locals: Map,
pub condition: Option<Condition>,
pub is_not_visible: bool,
pub events: Vec<Event>,
pub reference: Option<String>,
pub region: Option<Region>,
pub padding: Option<i64>,
pub padding_vertical: Option<i64>,
pub padding_horizontal: Option<i64>,
pub padding_left: Option<i64>,
pub padding_right: Option<i64>,
pub padding_top: Option<i64>,
pub padding_bottom: Option<i64>,
pub border_top_radius: Option<i64>,
pub border_bottom_radius: Option<i64>,
pub border_left_radius: Option<i64>,
pub border_right_radius: Option<i64>,
pub width: Option<Length>,
pub max_width: Option<Length>,
pub min_width: Option<Length>,
pub height: Option<Length>,
pub min_height: Option<Length>,
pub max_height: Option<Length>,
pub color: Option<Color>,
pub background_color: Option<Color>,
pub border_color: Option<Color>,
pub border_width: i64,
pub border_radius: i64,
pub id: Option<String>,
pub data_id: Option<String>,
pub overflow_x: Option<Overflow>,
pub overflow_y: Option<Overflow>,
pub border_top: Option<i64>,
pub border_left: Option<i64>,
pub border_right: Option<i64>,
pub border_bottom: Option<i64>,
pub margin_top: Option<i64>,
pub margin_left: Option<i64>,
pub margin_right: Option<i64>,
pub margin_bottom: Option<i64>,
pub link: Option<String>,
pub open_in_new_tab: bool,
pub sticky: bool,
pub top: Option<i64>,
pub bottom: Option<i64>,
pub left: Option<i64>,
pub right: Option<i64>,
pub submit: Option<String>,
pub cursor: Option<String>,
pub shadow_offset_x: Option<i64>,
pub shadow_offset_y: Option<i64>,
pub shadow_size: Option<i64>,
pub shadow_blur: Option<i64>,
pub shadow_color: Option<Color>,
pub anchor: Option<Anchor>,
pub gradient_direction: Option<GradientDirection>,
pub gradient_colors: Vec<Color>,
pub background_image: Option<String>,
pub background_repeat: bool,
pub background_parallax: bool,
pub scale: Option<f64>,
pub scale_x: Option<f64>,
pub scale_y: Option<f64>,
pub rotate: Option<i64>,
pub move_up: Option<i64>,
pub move_down: Option<i64>,
pub move_left: Option<i64>,
pub move_right: Option<i64>,
pub position: Position,
pub inner: bool,
}
Fields
conditional_attribute: BTreeMap<String, ConditionalAttribute>
locals: Map
condition: Option<Condition>
is_not_visible: bool
events: Vec<Event>
reference: Option<String>
region: Option<Region>
padding: Option<i64>
padding_vertical: Option<i64>
padding_horizontal: Option<i64>
padding_left: Option<i64>
padding_right: Option<i64>
padding_top: Option<i64>
padding_bottom: Option<i64>
border_top_radius: Option<i64>
border_bottom_radius: Option<i64>
border_left_radius: Option<i64>
border_right_radius: Option<i64>
width: Option<Length>
max_width: Option<Length>
min_width: Option<Length>
height: Option<Length>
min_height: Option<Length>
max_height: Option<Length>
color: Option<Color>
background_color: Option<Color>
border_color: Option<Color>
border_width: i64
border_radius: i64
id: Option<String>
data_id: Option<String>
overflow_x: Option<Overflow>
overflow_y: Option<Overflow>
border_top: Option<i64>
border_left: Option<i64>
border_right: Option<i64>
border_bottom: Option<i64>
margin_top: Option<i64>
margin_left: Option<i64>
margin_right: Option<i64>
margin_bottom: Option<i64>
link: Option<String>
open_in_new_tab: bool
sticky: bool
top: Option<i64>
bottom: Option<i64>
left: Option<i64>
right: Option<i64>
submit: Option<String>
cursor: Option<String>
shadow_offset_x: Option<i64>
shadow_offset_y: Option<i64>
shadow_size: Option<i64>
shadow_blur: Option<i64>
shadow_color: Option<Color>
anchor: Option<Anchor>
gradient_direction: Option<GradientDirection>
gradient_colors: Vec<Color>
background_image: Option<String>
background_repeat: bool
background_parallax: bool
scale: Option<f64>
scale_x: Option<f64>
scale_y: Option<f64>
rotate: Option<i64>
move_up: Option<i64>
move_down: Option<i64>
move_left: Option<i64>
move_right: Option<i64>
position: Position
inner: bool
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Common
impl UnwindSafe for Common
Blanket Implementations
Mutably borrows from an owned value. Read more