pub struct Entity {
pub dataset: String,
pub label: Option<String>,
pub entity_id: Option<String>,
pub create_if: Option<String>,
pub update_if: Option<String>,
}Expand description
An ODK Entities declaration (the entities sheet): the survey creates an
entity in a dataset when submitted.
Fields§
§dataset: StringTarget dataset name.
label: Option<String>Label expression for the entity, if any.
entity_id: Option<String>entity_id expression: present ⇒ update mode, absent ⇒ create.
create_if: Option<String>create_if condition expression, if any.
update_if: Option<String>update_if condition expression, if any.
Trait Implementations§
impl Eq for Entity
impl StructuralPartialEq for Entity
Auto Trait Implementations§
impl Freeze for Entity
impl RefUnwindSafe for Entity
impl Send for Entity
impl Sync for Entity
impl Unpin for Entity
impl UnsafeUnpin for Entity
impl UnwindSafe for Entity
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