pub struct GroupChoice {
pub value: String,
pub label: Value,
}Expand description
One choice of a group source: the canonical text of a row’s value and its label text.
Fields§
§value: StringThe canonical text of the row’s value field.
label: ValueThe declared label of a literal choice (CUSC-089), or the canonical text of the row’s label field, or the value when it gives none.
Trait Implementations§
Source§impl Clone for GroupChoice
impl Clone for GroupChoice
Source§fn clone(&self) -> GroupChoice
fn clone(&self) -> GroupChoice
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 GroupChoice
impl Debug for GroupChoice
impl Eq for GroupChoice
Source§impl PartialEq for GroupChoice
impl PartialEq for GroupChoice
impl StructuralPartialEq for GroupChoice
Auto Trait Implementations§
impl Freeze for GroupChoice
impl RefUnwindSafe for GroupChoice
impl Send for GroupChoice
impl Sync for GroupChoice
impl Unpin for GroupChoice
impl UnsafeUnpin for GroupChoice
impl UnwindSafe for GroupChoice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.