pub enum FormUpdateMode {
Manual,
PreviouslyDownloaded,
MatchExactly,
}Expand description
How blank forms are kept in sync with the server.
Variants§
Manual
Only when the interviewer opens Get Blank Form.
PreviouslyDownloaded
Check for new versions of forms already on the device.
MatchExactly
Mirror the server: download new forms, update changed ones, remove the rest.
Implementations§
Trait Implementations§
Source§impl Clone for FormUpdateMode
impl Clone for FormUpdateMode
impl Copy for FormUpdateMode
Source§impl Debug for FormUpdateMode
impl Debug for FormUpdateMode
Source§impl<'de> Deserialize<'de> for FormUpdateMode
impl<'de> Deserialize<'de> for FormUpdateMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FormUpdateMode
impl Display for FormUpdateMode
impl Eq for FormUpdateMode
Source§impl FromStr for FormUpdateMode
impl FromStr for FormUpdateMode
Source§impl Hash for FormUpdateMode
impl Hash for FormUpdateMode
Source§impl PartialEq for FormUpdateMode
impl PartialEq for FormUpdateMode
Source§impl Serialize for FormUpdateMode
impl Serialize for FormUpdateMode
impl StructuralPartialEq for FormUpdateMode
Auto Trait Implementations§
impl Freeze for FormUpdateMode
impl RefUnwindSafe for FormUpdateMode
impl Send for FormUpdateMode
impl Sync for FormUpdateMode
impl Unpin for FormUpdateMode
impl UnsafeUnpin for FormUpdateMode
impl UnwindSafe for FormUpdateMode
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