pub struct DefaultNaiveDateTimeTableCellRendererPropsBuilder<TypedBuilderFields = ((), (), (), ())> { /* private fields */ }
Available on crate feature
chrono
only.Expand description
Builder for DefaultNaiveDateTimeTableCellRendererProps
instances.
See DefaultNaiveDateTimeTableCellRendererProps::builder()
for more info.
Implementations§
source§impl<__value, __index, __format_string> DefaultNaiveDateTimeTableCellRendererPropsBuilder<((), __value, __index, __format_string)>
impl<__value, __index, __format_string> DefaultNaiveDateTimeTableCellRendererPropsBuilder<((), __value, __index, __format_string)>
sourcepub fn class(
self,
class: impl Into<MaybeSignal<String>>
) -> DefaultNaiveDateTimeTableCellRendererPropsBuilder<((MaybeSignal<String>,), __value, __index, __format_string)>
pub fn class( self, class: impl Into<MaybeSignal<String>> ) -> DefaultNaiveDateTimeTableCellRendererPropsBuilder<((MaybeSignal<String>,), __value, __index, __format_string)>
class: impl
Into<MaybeSignal<String>>
The class attribute for the cell element. Generated by the classes provider.
source§impl<__class, __index, __format_string> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, (), __index, __format_string)>
impl<__class, __index, __format_string> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, (), __index, __format_string)>
sourcepub fn value(
self,
value: impl Into<MaybeSignal<NaiveDateTime>>
) -> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, (MaybeSignal<NaiveDateTime>,), __index, __format_string)>
pub fn value( self, value: impl Into<MaybeSignal<NaiveDateTime>> ) -> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, (MaybeSignal<NaiveDateTime>,), __index, __format_string)>
value: impl
Into<MaybeSignal<NaiveDateTime>>
The value to display.
source§impl<__class, __value, __format_string> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, __value, (), __format_string)>
impl<__class, __value, __format_string> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, __value, (), __format_string)>
source§impl<__class, __value, __index> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, __value, __index, ())>
impl<__class, __value, __index> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, __value, __index, ())>
sourcepub fn format_string(
self,
format_string: String
) -> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, __value, __index, (Option<String>,))>
pub fn format_string( self, format_string: String ) -> DefaultNaiveDateTimeTableCellRendererPropsBuilder<(__class, __value, __index, (Option<String>,))>
format_string: String
The format string to use for formatting the date. Provided by the #[table(format(string="..."))]
attribute of the field.
See chrono::format::strftime
for more information.
source§impl<__format_string: DefaultNaiveDateTimeTableCellRendererPropsBuilder_Optional<Option<String>>> DefaultNaiveDateTimeTableCellRendererPropsBuilder<((MaybeSignal<String>,), (MaybeSignal<NaiveDateTime>,), (usize,), __format_string)>
impl<__format_string: DefaultNaiveDateTimeTableCellRendererPropsBuilder_Optional<Option<String>>> DefaultNaiveDateTimeTableCellRendererPropsBuilder<((MaybeSignal<String>,), (MaybeSignal<NaiveDateTime>,), (usize,), __format_string)>
sourcepub fn build(self) -> DefaultNaiveDateTimeTableCellRendererProps
pub fn build(self) -> DefaultNaiveDateTimeTableCellRendererProps
Finalise the builder and create its DefaultNaiveDateTimeTableCellRendererProps
instance
Trait Implementations§
source§impl<TypedBuilderFields> Clone for DefaultNaiveDateTimeTableCellRendererPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Clone,
impl<TypedBuilderFields> Clone for DefaultNaiveDateTimeTableCellRendererPropsBuilder<TypedBuilderFields>where TypedBuilderFields: Clone,
Auto Trait Implementations§
impl<TypedBuilderFields> RefUnwindSafe for DefaultNaiveDateTimeTableCellRendererPropsBuilder<TypedBuilderFields>where TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for DefaultNaiveDateTimeTableCellRendererPropsBuilder<TypedBuilderFields>where TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for DefaultNaiveDateTimeTableCellRendererPropsBuilder<TypedBuilderFields>where TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for DefaultNaiveDateTimeTableCellRendererPropsBuilder<TypedBuilderFields>where TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for DefaultNaiveDateTimeTableCellRendererPropsBuilder<TypedBuilderFields>where TypedBuilderFields: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more