pub enum ConditionValue<'a> {
None,
Single(Cow<'a, str>),
Multiple(Vec<Cow<'a, str>>),
Range(Cow<'a, str>, Cow<'a, str>),
}
Expand description
查询条件值枚举,减少内存占用
Variants§
Trait Implementations§
Source§impl<'a> Clone for ConditionValue<'a>
impl<'a> Clone for ConditionValue<'a>
Source§fn clone(&self) -> ConditionValue<'a>
fn clone(&self) -> ConditionValue<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for ConditionValue<'a>
impl<'a> RefUnwindSafe for ConditionValue<'a>
impl<'a> Send for ConditionValue<'a>
impl<'a> Sync for ConditionValue<'a>
impl<'a> Unpin for ConditionValue<'a>
impl<'a> UnwindSafe for ConditionValue<'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