pub enum Kind {
Builtin(Builtin),
Select {
select: SelectType,
list: String,
file: Option<String>,
},
Osm {
tagset: String,
},
Unknown(String),
}Expand description
The resolved semantics of a question’s type column.
Variants§
Builtin(Builtin)
A built-in type with a fixed XForm mapping.
Select
A select_one / select_multiple / rank over a choice list or file.
Fields
§
select: SelectTypeWhich selection control this is.
Osm
An osm <tagset> capture: an osm/* upload with tag children.
Fields
Name of the tag list (from the osm sheet).
Unknown(String)
A type token not yet supported; emitted as a plain string bind.
Trait Implementations§
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Forget for Kind
impl Freeze for Kind
impl Move for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kindwhere
RawVecInner: Sync,
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