pub struct InputValue {
pub data: Option<Value>,
pub display_value: Option<String>,
pub value: Option<String>,
}Expand description
Information about a single value for an input
Fields§
§data: Option<Value>Any other data about this input
display_value: Option<String>The text to show for the display of this value
value: Option<String>The value to store for this input
Implementations§
Source§impl InputValue
impl InputValue
Trait Implementations§
Source§impl Clone for InputValue
impl Clone for InputValue
Source§fn clone(&self) -> InputValue
fn clone(&self) -> InputValue
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 InputValue
impl Debug for InputValue
Source§impl Default for InputValue
impl Default for InputValue
Source§fn default() -> InputValue
fn default() -> InputValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputValue
impl<'de> Deserialize<'de> for InputValue
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 InputValue
impl PartialEq for InputValue
Source§impl Serialize for InputValue
impl Serialize for InputValue
impl StructuralPartialEq for InputValue
Auto Trait Implementations§
impl Freeze for InputValue
impl RefUnwindSafe for InputValue
impl Send for InputValue
impl Sync for InputValue
impl Unpin for InputValue
impl UnwindSafe for InputValue
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