pub struct ColumnStyleOpts {
pub datagrid_number_style: Option<NumberColumnStyleDefaultConfig>,
pub datagrid_string_style: Option<StringColumnStyleDefaultConfig>,
pub datagrid_datetime_style: Option<DatetimeColumnStyleDefaultConfig>,
pub symbols: Option<KeyValueOpts>,
pub number_string_format: Option<bool>,
}Expand description
The controls returned by plugin.column_style_controls.
This is a way to fill out default values for the given controls. If a control is not given, it will not be rendered. I would like to eventually show these as inactive values.
Fields§
§datagrid_number_style: Option<NumberColumnStyleDefaultConfig>§datagrid_string_style: Option<StringColumnStyleDefaultConfig>§datagrid_datetime_style: Option<DatetimeColumnStyleDefaultConfig>§symbols: Option<KeyValueOpts>§number_string_format: Option<bool>Trait Implementations§
Source§impl Debug for ColumnStyleOpts
impl Debug for ColumnStyleOpts
Source§impl Default for ColumnStyleOpts
impl Default for ColumnStyleOpts
Source§fn default() -> ColumnStyleOpts
fn default() -> ColumnStyleOpts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ColumnStyleOpts
impl<'de> Deserialize<'de> for ColumnStyleOpts
Source§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
Source§impl PartialEq for ColumnStyleOpts
impl PartialEq for ColumnStyleOpts
Source§impl Serialize for ColumnStyleOpts
impl Serialize for ColumnStyleOpts
impl StructuralPartialEq for ColumnStyleOpts
Auto Trait Implementations§
impl Freeze for ColumnStyleOpts
impl RefUnwindSafe for ColumnStyleOpts
impl Send for ColumnStyleOpts
impl Sync for ColumnStyleOpts
impl Unpin for ColumnStyleOpts
impl UnwindSafe for ColumnStyleOpts
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> FromQuery for Twhere
T: DeserializeOwned,
impl<T> FromQuery for Twhere
T: DeserializeOwned,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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 moreSource§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.