pub enum PgLQueryLevel {
Star(Option<u16>, Option<u16>),
NonStar(Vec<PgLQueryVariant, Global>),
NotNonStar(Vec<PgLQueryVariant, Global>),
}Variants
Star(Option<u16>, Option<u16>)
match any label (*) with optional at least / at most numbers
NonStar(Vec<PgLQueryVariant, Global>)
match any of specified labels with optional flags
NotNonStar(Vec<PgLQueryVariant, Global>)
match none of specified labels with optional flags
Trait Implementations
sourceimpl Clone for PgLQueryLevel
impl Clone for PgLQueryLevel
sourcefn clone(&self) -> PgLQueryLevel
fn clone(&self) -> PgLQueryLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PgLQueryLevel
impl Debug for PgLQueryLevel
sourceimpl Display for PgLQueryLevel
impl Display for PgLQueryLevel
sourceimpl FromStr for PgLQueryLevel
impl FromStr for PgLQueryLevel
type Err = PgLQueryParseError
type Err = PgLQueryParseError
The associated error which can be returned from parsing.
sourcefn from_str(s: &str) -> Result<PgLQueryLevel, <PgLQueryLevel as FromStr>::Err>
fn from_str(s: &str) -> Result<PgLQueryLevel, <PgLQueryLevel as FromStr>::Err>
Parses a string s to return a value of this type. Read more
sourceimpl PartialEq<PgLQueryLevel> for PgLQueryLevel
impl PartialEq<PgLQueryLevel> for PgLQueryLevel
sourcefn eq(&self, other: &PgLQueryLevel) -> bool
fn eq(&self, other: &PgLQueryLevel) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PgLQueryLevel) -> bool
fn ne(&self, other: &PgLQueryLevel) -> bool
This method tests for !=.
impl StructuralPartialEq for PgLQueryLevel
Auto Trait Implementations
impl RefUnwindSafe for PgLQueryLevel
impl Send for PgLQueryLevel
impl Sync for PgLQueryLevel
impl Unpin for PgLQueryLevel
impl UnwindSafe for PgLQueryLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more