Skip to main content

Dated

Trait Dated 

Source
pub trait Dated: Bindable + Sealed { }
Expand description

A date type a DateField can be bound to: CalendarDate or Option<CalendarDate>.

An Option field starts empty for None, and emptying it sets None. A plain CalendarDate keeps its date when the visitor empties the field.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Dated for CalendarDate

Source§

impl Dated for Option<CalendarDate>

Implementors§