Struct Common

Source
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§

Source§

impl Clone for Common

Source§

fn clone(&self) -> Common

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Common

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Common

Source§

fn default() -> Common

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

impl<'de> Deserialize<'de> for Common

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Common

Source§

fn eq(&self, other: &Common) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Common

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Common

Auto Trait Implementations§

§

impl Freeze for Common

§

impl RefUnwindSafe for Common

§

impl Send for Common

§

impl Sync for Common

§

impl Unpin for Common

§

impl UnwindSafe for Common

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,