pub struct DropdownElement {
pub selector: String,
pub name: Option<String>,
pub label: Option<String>,
pub options: Vec<String>,
pub option_count: usize,
}
Fields§
§selector: String
§name: Option<String>
§label: Option<String>
§options: Vec<String>
§option_count: usize
Trait Implementations§
Source§impl Clone for DropdownElement
impl Clone for DropdownElement
Source§fn clone(&self) -> DropdownElement
fn clone(&self) -> DropdownElement
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 DropdownElement
impl Debug for DropdownElement
Source§impl<'de> Deserialize<'de> for DropdownElement
impl<'de> Deserialize<'de> for DropdownElement
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
Auto Trait Implementations§
impl Freeze for DropdownElement
impl RefUnwindSafe for DropdownElement
impl Send for DropdownElement
impl Sync for DropdownElement
impl Unpin for DropdownElement
impl UnwindSafe for DropdownElement
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