pub struct SelectableOption {
pub id: SelectableOptionId,
pub label: String,
}Expand description
A selectable option for a custom field.
Fields§
§id: SelectableOptionIdUnique identifier of the option.
label: StringLabel of the option.
Trait Implementations§
Source§impl Clone for SelectableOption
impl Clone for SelectableOption
Source§fn clone(&self) -> SelectableOption
fn clone(&self) -> SelectableOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SelectableOption
impl Debug for SelectableOption
Source§impl<'de> Deserialize<'de> for SelectableOption
impl<'de> Deserialize<'de> for SelectableOption
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 SelectableOption
impl RefUnwindSafe for SelectableOption
impl Send for SelectableOption
impl Sync for SelectableOption
impl Unpin for SelectableOption
impl UnsafeUnpin for SelectableOption
impl UnwindSafe for SelectableOption
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