pub enum Separator<'a> {
Whitespace,
Sequence(&'a str),
SequenceTrim(&'a str),
SequenceTrimStart(&'a str),
SequenceTrimEnd(&'a str),
}Expand description
Enum for specifying separators for ask_many and its variations.
Variants§
Whitespace
Sequence(&'a str)
SequenceTrim(&'a str)
SequenceTrimStart(&'a str)
SequenceTrimEnd(&'a str)
Trait Implementations§
impl<'a> Copy for Separator<'a>
impl<'a> Eq for Separator<'a>
impl<'a> StructuralPartialEq for Separator<'a>
Auto Trait Implementations§
impl<'a> Freeze for Separator<'a>
impl<'a> RefUnwindSafe for Separator<'a>
impl<'a> Send for Separator<'a>
impl<'a> Sync for Separator<'a>
impl<'a> Unpin for Separator<'a>
impl<'a> UnwindSafe for Separator<'a>
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