pub struct Common {Show 83 fields
pub conditional_attribute: Map<ConditionalAttribute>,
pub condition: Option<Condition>,
pub is_not_visible: bool,
pub is_dummy: 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 border_top_color: Option<Color>,
pub border_bottom_color: Option<Color>,
pub border_left_color: Option<Color>,
pub border_right_color: Option<Color>,
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<ColorValue>,
pub background_image: Option<ImageSrc>,
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: Option<Position>,
pub inner: bool,
pub z_index: Option<i64>,
pub slot: Option<String>,
pub grid_column: Option<String>,
pub grid_row: Option<String>,
pub white_space: Option<String>,
pub border_style: Option<String>,
pub text_transform: Option<String>,
pub title: Option<String>,
}
Fields
conditional_attribute: Map<ConditionalAttribute>
condition: Option<Condition>
is_not_visible: bool
is_dummy: 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>
border_top_color: Option<Color>
border_bottom_color: Option<Color>
border_left_color: Option<Color>
border_right_color: Option<Color>
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<ColorValue>
background_image: Option<ImageSrc>
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: Option<Position>
inner: bool
z_index: Option<i64>
slot: Option<String>
grid_column: Option<String>
grid_row: Option<String>
white_space: Option<String>
border_style: Option<String>
text_transform: Option<String>
title: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Common
impl<'de> Deserialize<'de> for Common
sourcefn 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
sourceimpl PartialEq<Common> for Common
impl PartialEq<Common> for Common
impl StructuralPartialEq for Common
Auto Trait Implementations
impl RefUnwindSafe for Common
impl Send for Common
impl Sync for Common
impl Unpin for Common
impl UnwindSafe for Common
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more