pub enum ValueSelector {
Data(String),
Id(Uuid),
}Expand description
How to pick one value of a group.
Variants§
Data(String)
By data, compared with Core’s canonical form (crate::ops::same_data).
Id(Uuid)
By the value’s uuid; for data the comparison cannot match.
Trait Implementations§
Source§impl Clone for ValueSelector
impl Clone for ValueSelector
Source§fn clone(&self) -> ValueSelector
fn clone(&self) -> ValueSelector
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 moreAuto Trait Implementations§
impl Freeze for ValueSelector
impl RefUnwindSafe for ValueSelector
impl Send for ValueSelector
impl Sync for ValueSelector
impl Unpin for ValueSelector
impl UnsafeUnpin for ValueSelector
impl UnwindSafe for ValueSelector
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