pub struct FlowFormField {Show 13 fields
pub var: String,
pub value_type: FlowFieldValueType,
pub control: FlowFieldControl,
pub required: bool,
pub repeat: bool,
pub label: Option<String>,
pub default_value: Option<Value>,
pub default_value_ref: Option<FlowValueRef>,
pub options: Option<Vec<Value>>,
pub options_ref: Option<FlowValueRef>,
pub option_unavailable_text: Option<String>,
pub read_only: bool,
pub min_rows: Option<u32>,
}Fields§
§var: String§value_type: FlowFieldValueType§control: FlowFieldControl§required: bool§repeat: bool§label: Option<String>§default_value: Option<Value>§default_value_ref: Option<FlowValueRef>§options: Option<Vec<Value>>§options_ref: Option<FlowValueRef>§read_only: bool§min_rows: Option<u32>Trait Implementations§
Source§impl Clone for FlowFormField
impl Clone for FlowFormField
Source§fn clone(&self) -> FlowFormField
fn clone(&self) -> FlowFormField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FlowFormField
impl Debug for FlowFormField
Source§impl<'de> Deserialize<'de> for FlowFormField
impl<'de> Deserialize<'de> for FlowFormField
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 PartialEq for FlowFormField
impl PartialEq for FlowFormField
Source§impl Serialize for FlowFormField
impl Serialize for FlowFormField
impl StructuralPartialEq for FlowFormField
Auto Trait Implementations§
impl Freeze for FlowFormField
impl RefUnwindSafe for FlowFormField
impl Send for FlowFormField
impl Sync for FlowFormField
impl Unpin for FlowFormField
impl UnsafeUnpin for FlowFormField
impl UnwindSafe for FlowFormField
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