pub struct VariantChoice {
pub name: String,
pub source: String,
pub id: String,
}Expand description
One variant to import: the candidate, any source of the variant
(Source::key) and the store id it becomes.
Fields§
§name: String§source: String§id: StringTrait Implementations§
Source§impl Clone for VariantChoice
impl Clone for VariantChoice
Source§impl Debug for VariantChoice
impl Debug for VariantChoice
impl Eq for VariantChoice
Source§impl PartialEq for VariantChoice
impl PartialEq for VariantChoice
impl StructuralPartialEq for VariantChoice
Auto Trait Implementations§
impl Forget for VariantChoice
impl Freeze for VariantChoice
impl Move for VariantChoice
impl RefUnwindSafe for VariantChoice
impl Send for VariantChoicewhere
RawVecInner: Send,
impl Sync for VariantChoicewhere
RawVecInner: Sync,
impl Unpin for VariantChoice
impl UnsafeUnpin for VariantChoice
impl UnwindSafe for VariantChoicewhere
RawVecInner: UnwindSafe,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.