pub enum ComplexityLevel {
Simple,
Moderate,
Complex,
VeryComplex,
}Expand description
SQL 复杂度等级。
Variants§
Implementations§
Source§impl ComplexityLevel
impl ComplexityLevel
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
返回等级的中文描述。
Trait Implementations§
Source§impl Clone for ComplexityLevel
impl Clone for ComplexityLevel
Source§fn clone(&self) -> ComplexityLevel
fn clone(&self) -> ComplexityLevel
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 moreimpl Copy for ComplexityLevel
Source§impl Debug for ComplexityLevel
impl Debug for ComplexityLevel
impl Eq for ComplexityLevel
Source§impl PartialEq for ComplexityLevel
impl PartialEq for ComplexityLevel
impl StructuralPartialEq for ComplexityLevel
Auto Trait Implementations§
impl Freeze for ComplexityLevel
impl RefUnwindSafe for ComplexityLevel
impl Send for ComplexityLevel
impl Sync for ComplexityLevel
impl Unpin for ComplexityLevel
impl UnsafeUnpin for ComplexityLevel
impl UnwindSafe for ComplexityLevel
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