pub enum Kind {
Text {
multiline: bool,
suggest: Option<Suggest>,
},
Select {
source: Source,
fills: Option<&'static str>,
empty: Option<&'static str>,
},
Amount,
Date {
range_end: bool,
whole_day: bool,
},
Rows {
fields: &'static [Field],
nested_under: Option<&'static str>,
},
Hidden,
Choice {
options: &'static [(&'static str, &'static str)],
default: Option<&'static str>,
},
}Expand description
The seven field kinds; another needs owner sign-off.
Variants§
Text
Select
Fields
Amount
Date
whole_day asks for a calendar day, which range_end turns into the
last instant of that day; otherwise an instant is asked for.
Rows
A nested_under rows field belongs to the rows field of that key: its
LINK_CELL holds the PARENT_KEY_CELL value of the owning row.
Hidden
Choice
A fixed list of (key, label) options; the key is submitted.
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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