pub enum SelectionKey {
Index(usize),
Name(String),
}Expand description
Stable user-facing identity for one member of a durable selection group.
Variants§
Trait Implementations§
Source§impl Clone for SelectionKey
impl Clone for SelectionKey
Source§fn clone(&self) -> SelectionKey
fn clone(&self) -> SelectionKey
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 SelectionKey
impl Debug for SelectionKey
Source§impl<'de> Deserialize<'de> for SelectionKey
impl<'de> Deserialize<'de> for SelectionKey
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
impl Eq for SelectionKey
Source§impl From<&str> for SelectionKey
impl From<&str> for SelectionKey
Source§impl From<String> for SelectionKey
impl From<String> for SelectionKey
Source§impl From<usize> for SelectionKey
impl From<usize> for SelectionKey
Source§impl Hash for SelectionKey
impl Hash for SelectionKey
Source§impl PartialEq for SelectionKey
impl PartialEq for SelectionKey
Source§impl Serialize for SelectionKey
impl Serialize for SelectionKey
impl StructuralPartialEq for SelectionKey
Auto Trait Implementations§
impl Freeze for SelectionKey
impl RefUnwindSafe for SelectionKey
impl Send for SelectionKey
impl Sync for SelectionKey
impl Unpin for SelectionKey
impl UnsafeUnpin for SelectionKey
impl UnwindSafe for SelectionKey
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