pub struct Props {
pub name: String,
pub id: String,
pub options: Vec<SelectOption>,
pub selected: Option<String>,
pub placeholder: String,
pub disabled: bool,
}Fields§
§name: String§id: String§options: Vec<SelectOption>§selected: Option<String>§placeholder: String§disabled: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Props
impl RefUnwindSafe for Props
impl Send for Props
impl Sync for Props
impl Unpin for Props
impl UnsafeUnpin for Props
impl UnwindSafe for Props
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