pub struct FormControlInfo {
pub control_type: FormControlType,
pub cell: String,
pub text: Option<String>,
pub macro_name: Option<String>,
pub cell_link: Option<String>,
pub checked: Option<bool>,
pub current_value: Option<u32>,
pub min_value: Option<u32>,
pub max_value: Option<u32>,
pub increment: Option<u32>,
pub page_increment: Option<u32>,
}Expand description
Information about an existing form control, returned when querying.
Fields§
§control_type: FormControlType§cell: String§text: Option<String>§macro_name: Option<String>§cell_link: Option<String>§checked: Option<bool>§current_value: Option<u32>§min_value: Option<u32>§max_value: Option<u32>§increment: Option<u32>§page_increment: Option<u32>Implementations§
Source§impl FormControlInfo
impl FormControlInfo
Sourcepub fn to_config(&self) -> FormControlConfig
pub fn to_config(&self) -> FormControlConfig
Convert a parsed FormControlInfo back to a FormControlConfig.
This is used during VML hydration to reconstruct the config list from existing VML data so that subsequent add/delete operations work correctly.
Trait Implementations§
Source§impl Clone for FormControlInfo
impl Clone for FormControlInfo
Source§fn clone(&self) -> FormControlInfo
fn clone(&self) -> FormControlInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormControlInfo
impl Debug for FormControlInfo
Source§impl PartialEq for FormControlInfo
impl PartialEq for FormControlInfo
impl StructuralPartialEq for FormControlInfo
Auto Trait Implementations§
impl Freeze for FormControlInfo
impl RefUnwindSafe for FormControlInfo
impl Send for FormControlInfo
impl Sync for FormControlInfo
impl Unpin for FormControlInfo
impl UnwindSafe for FormControlInfo
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