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: boolis_dummy: boolevents: 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: i64border_radius: i64id: 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: boolsticky: booltop: 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: boolbackground_parallax: boolscale: 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: boolz_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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.