pub struct Selection {
pub name: Option<String>,
pub value: Option<f32>,
pub icon: Option<String>,
}
Expand description
Selection : Selection Model
Fields
name: Option<String>
value: Option<f32>
icon: Option<String>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Selection
impl<'de> Deserialize<'de> for Selection
sourcefn 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
impl StructuralPartialEq for Selection
Auto Trait Implementations
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnwindSafe for Selection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more