pub struct Settings {
pub form_id: Option<String>,
pub title: Option<String>,
pub version: Option<String>,
pub default_language: Option<String>,
pub instance_name: Option<String>,
pub style: Option<String>,
pub public_key: Option<String>,
pub submission_url: Option<String>,
pub auto_send: Option<String>,
pub auto_delete: Option<String>,
}Expand description
Form-level settings, sourced from the XLSForm settings sheet.
Fields§
§form_id: Option<String>Form identifier (form_id); defaults to data when absent.
title: Option<String>Human-readable form title.
version: Option<String>Form version string.
default_language: Option<String>Default language label, e.g. French (fr).
instance_name: Option<String>instance_name expression (populates meta/instanceName), if any.
style: Option<String>style setting (becomes the body class), if any.
public_key: Option<String>public_key for encrypted submissions (base64RsaPublicKey), if any.
submission_url: Option<String>submission_url (the <submission action>), if any.
auto_send: Option<String>auto_send setting (orx:auto-send), if any.
auto_delete: Option<String>auto_delete setting (orx:auto-delete), if any.
Trait Implementations§
impl Eq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Forget for Settings
impl Freeze for Settings
impl Move for Settings
impl RefUnwindSafe for Settings
impl Send for Settingswhere
RawVecInner: Send,
impl Sync for Settingswhere
RawVecInner: Sync,
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settingswhere
RawVecInner: 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