pub enum SelectionKind {
None,
Single(String),
Multiple(Vec<String>),
Range {
start: String,
end: String,
},
}Expand description
Detailed selection payload within a target.
Variants§
Trait Implementations§
Source§impl Clone for SelectionKind
impl Clone for SelectionKind
Source§impl Debug for SelectionKind
impl Debug for SelectionKind
Source§impl<'de> Deserialize<'de> for SelectionKind
impl<'de> Deserialize<'de> for SelectionKind
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 SelectionKind
Source§impl PartialEq for SelectionKind
impl PartialEq for SelectionKind
Source§impl Serialize for SelectionKind
impl Serialize for SelectionKind
impl StructuralPartialEq for SelectionKind
Auto Trait Implementations§
impl Freeze for SelectionKind
impl RefUnwindSafe for SelectionKind
impl Send for SelectionKind
impl Sync for SelectionKind
impl Unpin for SelectionKind
impl UnsafeUnpin for SelectionKind
impl UnwindSafe for SelectionKind
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