pub struct InputOption {
pub value: String,
pub displayed_value: String,
}Fields§
§value: String§displayed_value: StringImplementations§
Source§impl InputOption
impl InputOption
Trait Implementations§
Source§impl Clone for InputOption
impl Clone for InputOption
Source§fn clone(&self) -> InputOption
fn clone(&self) -> InputOption
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 InputOption
impl Debug for InputOption
Source§impl<'de> Deserialize<'de> for InputOption
impl<'de> Deserialize<'de> for InputOption
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 InputOption
impl PartialEq for InputOption
Source§impl Serialize for InputOption
impl Serialize for InputOption
impl StructuralPartialEq for InputOption
Auto Trait Implementations§
impl Freeze for InputOption
impl RefUnwindSafe for InputOption
impl Send for InputOption
impl Sync for InputOption
impl Unpin for InputOption
impl UnwindSafe for InputOption
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