pub struct WebViewSelectOption {
pub id: usize,
pub label: String,
pub disabled: bool,
pub group: Option<String>,
}Expand description
One option of a <select>.
Fields§
§id: usizeWhat WebViewControlAnswer::Selected names it by.
label: StringThe option’s text.
disabled: boolWhether it can be chosen.
group: Option<String>The label of the <optgroup> it belongs to, if any.
Trait Implementations§
Source§impl Clone for WebViewSelectOption
impl Clone for WebViewSelectOption
Source§impl Debug for WebViewSelectOption
impl Debug for WebViewSelectOption
Source§impl PartialEq for WebViewSelectOption
impl PartialEq for WebViewSelectOption
impl StructuralPartialEq for WebViewSelectOption
Auto Trait Implementations§
impl Forget for WebViewSelectOption
impl Freeze for WebViewSelectOption
impl Move for WebViewSelectOption
impl RefUnwindSafe for WebViewSelectOption
impl Send for WebViewSelectOption
impl Sync for WebViewSelectOption
impl Unpin for WebViewSelectOption
impl UnsafeUnpin for WebViewSelectOption
impl UnwindSafe for WebViewSelectOption
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