Enum sqlparser::ast::RepetitionQuantifier
source · pub enum RepetitionQuantifier {
ZeroOrMore,
OneOrMore,
AtMostOne,
Exactly(u32),
AtLeast(u32),
AtMost(u32),
Range(u32, u32),
}
Expand description
Determines the minimum and maximum allowed occurrences of a pattern in a
MATCH_RECOGNIZE
operation.
Variants§
ZeroOrMore
*
OneOrMore
+
AtMostOne
?
Exactly(u32)
{n}
AtLeast(u32)
{n,}
AtMost(u32)
{,n}
Range(u32, u32)
`{n,m}
Trait Implementations§
source§impl Clone for RepetitionQuantifier
impl Clone for RepetitionQuantifier
source§fn clone(&self) -> RepetitionQuantifier
fn clone(&self) -> RepetitionQuantifier
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 RepetitionQuantifier
impl Debug for RepetitionQuantifier
source§impl<'de> Deserialize<'de> for RepetitionQuantifier
impl<'de> Deserialize<'de> for RepetitionQuantifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RepetitionQuantifier
impl Display for RepetitionQuantifier
source§impl Hash for RepetitionQuantifier
impl Hash for RepetitionQuantifier
source§impl Ord for RepetitionQuantifier
impl Ord for RepetitionQuantifier
source§fn cmp(&self, other: &RepetitionQuantifier) -> Ordering
fn cmp(&self, other: &RepetitionQuantifier) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RepetitionQuantifier
impl PartialEq for RepetitionQuantifier
source§fn eq(&self, other: &RepetitionQuantifier) -> bool
fn eq(&self, other: &RepetitionQuantifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RepetitionQuantifier
impl PartialOrd for RepetitionQuantifier
source§fn partial_cmp(&self, other: &RepetitionQuantifier) -> Option<Ordering>
fn partial_cmp(&self, other: &RepetitionQuantifier) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for RepetitionQuantifier
impl Serialize for RepetitionQuantifier
source§impl Visit for RepetitionQuantifier
impl Visit for RepetitionQuantifier
source§impl VisitMut for RepetitionQuantifier
impl VisitMut for RepetitionQuantifier
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for RepetitionQuantifier
impl StructuralPartialEq for RepetitionQuantifier
Auto Trait Implementations§
impl Freeze for RepetitionQuantifier
impl RefUnwindSafe for RepetitionQuantifier
impl Send for RepetitionQuantifier
impl Sync for RepetitionQuantifier
impl Unpin for RepetitionQuantifier
impl UnwindSafe for RepetitionQuantifier
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