pub struct Builtin {
pub control: Option<Control>,
pub bind_type: &'static str,
pub readonly: bool,
pub preload: Option<Preload>,
pub action: Option<Action>,
}Expand description
The XForm mapping for a built-in question type.
Fields§
§control: Option<Control>Body control, or None for data-only types (calculate, preloads).
bind_type: &'static strXForm bind data type (e.g. string, int, binary).
readonly: boolWhether the bind is read-only.
preload: Option<Preload>Metadata preload, if this type is a preload.
action: Option<Action>A model-level action this type emits (e.g. odk:recordaudio).
Trait Implementations§
impl Copy for Builtin
impl Eq for Builtin
impl StructuralPartialEq for Builtin
Auto Trait Implementations§
impl Freeze for Builtin
impl RefUnwindSafe for Builtin
impl Send for Builtin
impl Sync for Builtin
impl Unpin for Builtin
impl UnsafeUnpin for Builtin
impl UnwindSafe for Builtin
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