pub enum PgLQueryLevel {
Star(Option<u16>, Option<u16>),
NonStar(Vec<PgLQueryVariant>),
NotNonStar(Vec<PgLQueryVariant>),
}
Available on crate feature
postgres
only.Variantsยง
Star(Option<u16>, Option<u16>)
match any label (*) with optional at least / at most numbers
NonStar(Vec<PgLQueryVariant>)
match any of specified labels with optional flags
NotNonStar(Vec<PgLQueryVariant>)
match none of specified labels with optional flags
Trait Implementationsยง
Sourceยงimpl Clone for PgLQueryLevel
impl Clone for PgLQueryLevel
Sourceยงfn clone(&self) -> PgLQueryLevel
fn clone(&self) -> PgLQueryLevel
Returns a copy of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for PgLQueryLevel
impl Debug for PgLQueryLevel
Sourceยงimpl Display for PgLQueryLevel
impl Display for PgLQueryLevel
Sourceยงimpl FromStr for PgLQueryLevel
impl FromStr for PgLQueryLevel
Sourceยงimpl PartialEq for PgLQueryLevel
impl PartialEq for PgLQueryLevel
impl StructuralPartialEq for PgLQueryLevel
Auto Trait Implementationsยง
impl Freeze for PgLQueryLevel
impl RefUnwindSafe for PgLQueryLevel
impl Send for PgLQueryLevel
impl Sync for PgLQueryLevel
impl Unpin for PgLQueryLevel
impl UnwindSafe for PgLQueryLevel
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more