risingwave_sqlparser::keywords

Enum Keyword

source
pub enum Keyword {
Show 520 variants NoKeyword, ABORT, ABS, ACTION, ADAPTIVE, ADD, AGGREGATE, ALL, ALLOCATE, ALTER, ANALYSE, ANALYZE, AND, ANY, APPEND, ARE, ARRAY, ARRAY_AGG, ARRAY_MAX_CARDINALITY, AS, ASC, ASENSITIVE, ASOF, ASYMMETRIC, AT, ATOMIC, AUTHORIZATION, AUTO, AVG, BASE64, BEGIN, BEGIN_FRAME, BEGIN_PARTITION, BETWEEN, BIGINT, BINARY, BIT_LENGTH, BLOB, BOOL, BOOLEAN, BOTH, BY, BYTEA, CACHE, CALL, CALLED, CANCEL, CARDINALITY, CASCADE, CASCADED, CASE, CAST, CEIL, CEILING, CHAIN, CHAR, CHARACTER, CHARACTERISTICS, CHARACTER_LENGTH, CHAR_LENGTH, CHECK, CLOB, CLOSE, CLUSTER, COALESCE, COLLATE, COLLATION, COLLECT, COLUMN, COLUMNS, COMMENT, COMMIT, COMMITTED, CONCURRENTLY, CONDITION, CONFLICT, CONFLUENT, CONNECT, CONNECTION, CONNECTIONS, CONSTRAINT, CONTAINS, CONVERT, COPY, CORR, CORRESPONDING, COUNT, COVAR_POP, COVAR_SAMP, CREATE, CREATEDB, CREATEUSER, CROSS, CUBE, CUME_DIST, CURRENT, CURRENT_CATALOG, CURRENT_DATE, CURRENT_DEFAULT_TRANSFORM_GROUP, CURRENT_PATH, CURRENT_ROLE, CURRENT_ROW, CURRENT_SCHEMA, CURRENT_TIME, CURRENT_TIMESTAMP, CURRENT_TRANSFORM_GROUP_FOR_TYPE, CURRENT_USER, CURSOR, CURSORS, CYCLE, DATA, DATABASE, DATABASES, DATE, DAY, DEALLOCATE, DEC, DECIMAL, DECLARE, DEFAULT, DEFERRABLE, DEFERRED, DELETE, DELIMITED, DENSE_RANK, DEREF, DESC, DESCRIBE, DETERMINISTIC, DIRECTORY, DISCARD, DISCONNECT, DISTINCT, DISTRIBUTED, DISTSQL, DO, DOT, DOUBLE, DROP, DYNAMIC, EACH, ELEMENT, ELSE, EMIT, ENCODE, ENCRYPTED, END, END_EXEC, END_FRAME, END_PARTITION, EQUALS, ERROR, ESCAPE, EVENT, EVERY, EXCEPT, EXCLUDE, EXEC, EXECUTE, EXISTS, EXP, EXPLAIN, EXTERNAL, EXTRACT, FALSE, FETCH, FILE, FILTER, FIRST, FIRST_VALUE, FLOAT, FLOOR, FLUSH, FOLLOWING, FOR, FOREIGN, FORMAT, FRAME_ROW, FREE, FREEZE, FROM, FULL, FUNCTION, FUNCTIONS, FUSION, GAP, GET, GLOBAL, GRANT, GRANTED, GROUP, GROUPING, GROUPS, HAVING, HEADER, HOLD, HOUR, IDENTITY, IF, IGNORE, ILIKE, IMMEDIATELY, IMMUTABLE, IN, INCLUDE, INDEX, INDEXES, INDICATOR, INITIALLY, INNER, INOUT, INSENSITIVE, INSERT, INT, INTEGER, INTERNAL, INTERSECT, INTERSECTION, INTERVAL, INTO, IS, ISNULL, ISOLATION, JOB, JOBS, JOIN, JSON, KEY, KEYS, KILL, LANGUAGE, LARGE, LAST, LATERAL, LEADING, LEFT, LEVEL, LIKE, LIMIT, LINK, LN, LOCAL, LOCALTIME, LOCALTIMESTAMP, LOCATION, LOGICAL, LOGIN, LOWER, MAP, MATCH, MATERIALIZED, MAX, MEMBER, MERGE, MESSAGE, METHOD, MIN, MINUTE, MOD, MODIFIES, MODULE, MONTH, MULTISET, NATIONAL, NATIVE, NATURAL, NCHAR, NCLOB, NEW, NEXT, NO, NOCREATEDB, NOCREATEUSER, NOLOGIN, NONE, NORMALIZE, NOSCAN, NOSUPERUSER, NOT, NOTHING, NOTNULL, NTH_VALUE, NTILE, NULL, NULLIF, NULLS, NUMERIC, OAUTH, OBJECT, OCCURRENCES_REGEX, OCTET_LENGTH, OF, OFFSET, OLD, ON, ONLY, OPEN, OPERATOR, OPTION, OR, ORDER, ORDINALITY, OTHERS, OUT, OUTER, OUTPUTFORMAT, OVER, OVERLAPS, OVERLAY, OVERWRITE, OWNER, PARALLELISM, PARAMETER, PARQUET, PARTITION, PARTITIONED, PARTITIONS, PASSWORD, PERCENT, PERCENTILE_CONT, PERCENTILE_DISC, PERCENT_RANK, PERIOD, PHYSICAL, PLACING, PORTION, POSITION, POSITION_REGEX, POWER, PRECEDES, PRECEDING, PRECISION, PREPARE, PRIMARY, PRIVILEGES, PROCEDURE, PROCESSLIST, PURGE, RANGE, RANK, RCFILE, READ, READS, REAL, RECOVER, RECURSIVE, REF, REFERENCES, REFERENCING, REFRESH, REGISTRY, REGR_AVGX, REGR_AVGY, REGR_COUNT, REGR_INTERCEPT, REGR_R2, REGR_SLOPE, REGR_SXX, REGR_SXY, REGR_SYY, RELEASE, RENAME, REPAIR, REPEATABLE, REPLACE, RESTRICT, RESULT, RETURN, RETURNING, RETURNS, REVOKE, RIGHT, ROLLBACK, ROLLUP, ROW, ROWID, ROWS, ROW_NUMBER, RUNTIME, SAVEPOINT, SCALAR, SCHEMA, SCHEMAS, SCOPE, SCROLL, SEARCH, SECOND, SECRET, SECRETS, SELECT, SENSITIVE, SEQUENCE, SEQUENCEFILE, SEQUENCES, SERDE, SERIALIZABLE, SESSION, SESSION_USER, SET, SETS, SHOW, SIMILAR, SINCE, SINK, SINKS, SMALLINT, SNAPSHOT, SOME, SORT, SOURCE, SOURCES, SPECIFIC, SPECIFICTYPE, SQL, SQLEXCEPTION, SQLSTATE, SQLWARNING, SQRT, STABLE, START, STATIC, STATISTICS, STDDEV_POP, STDDEV_SAMP, STDIN, STORED, STRING, STRUCT, SUBMULTISET, SUBSCRIPTION, SUBSCRIPTIONS, SUBSTRING, SUBSTRING_REGEX, SUCCEEDS, SUM, SUPERUSER, SWAP, SYMMETRIC, SYNC, SYSTEM, SYSTEM_TIME, SYSTEM_USER, SYSTEM_VERSION, TABLE, TABLES, TABLESAMPLE, TBLPROPERTIES, TEMP, TEMPORARY, TEXT, TEXTFILE, THEN, TIES, TIME, TIMESTAMP, TIMEZONE_HOUR, TIMEZONE_MINUTE, TINYINT, TO, TOP, TRACE, TRAILING, TRANSACTION, TRANSLATE, TRANSLATE_REGEX, TRANSLATION, TREAT, TRIGGER, TRIM, TRIM_ARRAY, TRUE, TRUNCATE, TRY_CAST, TYPE, UESCAPE, UNBOUNDED, UNCOMMITTED, UNION, UNIQUE, UNKNOWN, UNNEST, UPDATE, UPPER, USAGE, USER, USING, UUID, VALUE, VALUES, VALUE_OF, VARBINARY, VARCHAR, VARIADIC, VARYING, VAR_POP, VAR_SAMP, VERBOSE, VERSION, VERSIONING, VIEW, VIEWS, VIRTUAL, VOLATILE, WAIT, WATERMARK, WHEN, WHENEVER, WHERE, WIDTH_BUCKET, WINDOW, WITH, WITHIN, WITHOUT, WORK, WRITE, XML, XOR, YAML, YEAR, ZONE,
}

Variants§

§

NoKeyword

§

ABORT

§

ABS

§

ACTION

§

ADAPTIVE

§

ADD

§

AGGREGATE

§

ALL

§

ALLOCATE

§

ALTER

§

ANALYSE

§

ANALYZE

§

AND

§

ANY

§

APPEND

§

ARE

§

ARRAY

§

ARRAY_AGG

§

ARRAY_MAX_CARDINALITY

§

AS

§

ASC

§

ASENSITIVE

§

ASOF

§

ASYMMETRIC

§

AT

§

ATOMIC

§

AUTHORIZATION

§

AUTO

§

AVG

§

BASE64

§

BEGIN

§

BEGIN_FRAME

§

BEGIN_PARTITION

§

BETWEEN

§

BIGINT

§

BINARY

§

BIT_LENGTH

§

BLOB

§

BOOL

§

BOOLEAN

§

BOTH

§

BY

§

BYTEA

§

CACHE

§

CALL

§

CALLED

§

CANCEL

§

CARDINALITY

§

CASCADE

§

CASCADED

§

CASE

§

CAST

§

CEIL

§

CEILING

§

CHAIN

§

CHAR

§

CHARACTER

§

CHARACTERISTICS

§

CHARACTER_LENGTH

§

CHAR_LENGTH

§

CHECK

§

CLOB

§

CLOSE

§

CLUSTER

§

COALESCE

§

COLLATE

§

COLLATION

§

COLLECT

§

COLUMN

§

COLUMNS

§

COMMENT

§

COMMIT

§

COMMITTED

§

CONCURRENTLY

§

CONDITION

§

CONFLICT

§

CONFLUENT

§

CONNECT

§

CONNECTION

§

CONNECTIONS

§

CONSTRAINT

§

CONTAINS

§

CONVERT

§

COPY

§

CORR

§

CORRESPONDING

§

COUNT

§

COVAR_POP

§

COVAR_SAMP

§

CREATE

§

CREATEDB

§

CREATEUSER

§

CROSS

§

CUBE

§

CUME_DIST

§

CURRENT

§

CURRENT_CATALOG

§

CURRENT_DATE

§

CURRENT_DEFAULT_TRANSFORM_GROUP

§

CURRENT_PATH

§

CURRENT_ROLE

§

CURRENT_ROW

§

CURRENT_SCHEMA

§

CURRENT_TIME

§

CURRENT_TIMESTAMP

§

CURRENT_TRANSFORM_GROUP_FOR_TYPE

§

CURRENT_USER

§

CURSOR

§

CURSORS

§

CYCLE

§

DATA

§

DATABASE

§

DATABASES

§

DATE

§

DAY

§

DEALLOCATE

§

DEC

§

DECIMAL

§

DECLARE

§

DEFAULT

§

DEFERRABLE

§

DEFERRED

§

DELETE

§

DELIMITED

§

DENSE_RANK

§

DEREF

§

DESC

§

DESCRIBE

§

DETERMINISTIC

§

DIRECTORY

§

DISCARD

§

DISCONNECT

§

DISTINCT

§

DISTRIBUTED

§

DISTSQL

§

DO

§

DOT

§

DOUBLE

§

DROP

§

DYNAMIC

§

EACH

§

ELEMENT

§

ELSE

§

EMIT

§

ENCODE

§

ENCRYPTED

§

END

§

END_EXEC

§

END_FRAME

§

END_PARTITION

§

EQUALS

§

ERROR

§

ESCAPE

§

EVENT

§

EVERY

§

EXCEPT

§

EXCLUDE

§

EXEC

§

EXECUTE

§

EXISTS

§

EXP

§

EXPLAIN

§

EXTERNAL

§

EXTRACT

§

FALSE

§

FETCH

§

FILE

§

FILTER

§

FIRST

§

FIRST_VALUE

§

FLOAT

§

FLOOR

§

FLUSH

§

FOLLOWING

§

FOR

§

FOREIGN

§

FORMAT

§

FRAME_ROW

§

FREE

§

FREEZE

§

FROM

§

FULL

§

FUNCTION

§

FUNCTIONS

§

FUSION

§

GAP

§

GET

§

GLOBAL

§

GRANT

§

GRANTED

§

GROUP

§

GROUPING

§

GROUPS

§

HAVING

§

HEADER

§

HOLD

§

HOUR

§

IDENTITY

§

IF

§

IGNORE

§

ILIKE

§

IMMEDIATELY

§

IMMUTABLE

§

IN

§

INCLUDE

§

INDEX

§

INDEXES

§

INDICATOR

§

INITIALLY

§

INNER

§

INOUT

§

INSENSITIVE

§

INSERT

§

INT

§

INTEGER

§

INTERNAL

§

INTERSECT

§

INTERSECTION

§

INTERVAL

§

INTO

§

IS

§

ISNULL

§

ISOLATION

§

JOB

§

JOBS

§

JOIN

§

JSON

§

KEY

§

KEYS

§

KILL

§

LANGUAGE

§

LARGE

§

LAST

§

LATERAL

§

LEADING

§

LEFT

§

LEVEL

§

LIKE

§

LIMIT

§

LN

§

LOCAL

§

LOCALTIME

§

LOCALTIMESTAMP

§

LOCATION

§

LOGICAL

§

LOGIN

§

LOWER

§

MAP

§

MATCH

§

MATERIALIZED

§

MAX

§

MEMBER

§

MERGE

§

MESSAGE

§

METHOD

§

MIN

§

MINUTE

§

MOD

§

MODIFIES

§

MODULE

§

MONTH

§

MULTISET

§

NATIONAL

§

NATIVE

§

NATURAL

§

NCHAR

§

NCLOB

§

NEW

§

NEXT

§

NO

§

NOCREATEDB

§

NOCREATEUSER

§

NOLOGIN

§

NONE

§

NORMALIZE

§

NOSCAN

§

NOSUPERUSER

§

NOT

§

NOTHING

§

NOTNULL

§

NTH_VALUE

§

NTILE

§

NULL

§

NULLIF

§

NULLS

§

NUMERIC

§

OAUTH

§

OBJECT

§

OCCURRENCES_REGEX

§

OCTET_LENGTH

§

OF

§

OFFSET

§

OLD

§

ON

§

ONLY

§

OPEN

§

OPERATOR

§

OPTION

§

OR

§

ORDER

§

ORDINALITY

§

OTHERS

§

OUT

§

OUTER

§

OUTPUTFORMAT

§

OVER

§

OVERLAPS

§

OVERLAY

§

OVERWRITE

§

OWNER

§

PARALLELISM

§

PARAMETER

§

PARQUET

§

PARTITION

§

PARTITIONED

§

PARTITIONS

§

PASSWORD

§

PERCENT

§

PERCENTILE_CONT

§

PERCENTILE_DISC

§

PERCENT_RANK

§

PERIOD

§

PHYSICAL

§

PLACING

§

PORTION

§

POSITION

§

POSITION_REGEX

§

POWER

§

PRECEDES

§

PRECEDING

§

PRECISION

§

PREPARE

§

PRIMARY

§

PRIVILEGES

§

PROCEDURE

§

PROCESSLIST

§

PURGE

§

RANGE

§

RANK

§

RCFILE

§

READ

§

READS

§

REAL

§

RECOVER

§

RECURSIVE

§

REF

§

REFERENCES

§

REFERENCING

§

REFRESH

§

REGISTRY

§

REGR_AVGX

§

REGR_AVGY

§

REGR_COUNT

§

REGR_INTERCEPT

§

REGR_R2

§

REGR_SLOPE

§

REGR_SXX

§

REGR_SXY

§

REGR_SYY

§

RELEASE

§

RENAME

§

REPAIR

§

REPEATABLE

§

REPLACE

§

RESTRICT

§

RESULT

§

RETURN

§

RETURNING

§

RETURNS

§

REVOKE

§

RIGHT

§

ROLLBACK

§

ROLLUP

§

ROW

§

ROWID

§

ROWS

§

ROW_NUMBER

§

RUNTIME

§

SAVEPOINT

§

SCALAR

§

SCHEMA

§

SCHEMAS

§

SCOPE

§

SCROLL

§

SEARCH

§

SECOND

§

SECRET

§

SECRETS

§

SELECT

§

SENSITIVE

§

SEQUENCE

§

SEQUENCEFILE

§

SEQUENCES

§

SERDE

§

SERIALIZABLE

§

SESSION

§

SESSION_USER

§

SET

§

SETS

§

SHOW

§

SIMILAR

§

SINCE

§

SINK

§

SINKS

§

SMALLINT

§

SNAPSHOT

§

SOME

§

SORT

§

SOURCE

§

SOURCES

§

SPECIFIC

§

SPECIFICTYPE

§

SQL

§

SQLEXCEPTION

§

SQLSTATE

§

SQLWARNING

§

SQRT

§

STABLE

§

START

§

STATIC

§

STATISTICS

§

STDDEV_POP

§

STDDEV_SAMP

§

STDIN

§

STORED

§

STRING

§

STRUCT

§

SUBMULTISET

§

SUBSCRIPTION

§

SUBSCRIPTIONS

§

SUBSTRING

§

SUBSTRING_REGEX

§

SUCCEEDS

§

SUM

§

SUPERUSER

§

SWAP

§

SYMMETRIC

§

SYNC

§

SYSTEM

§

SYSTEM_TIME

§

SYSTEM_USER

§

SYSTEM_VERSION

§

TABLE

§

TABLES

§

TABLESAMPLE

§

TBLPROPERTIES

§

TEMP

§

TEMPORARY

§

TEXT

§

TEXTFILE

§

THEN

§

TIES

§

TIME

§

TIMESTAMP

§

TIMEZONE_HOUR

§

TIMEZONE_MINUTE

§

TINYINT

§

TO

§

TOP

§

TRACE

§

TRAILING

§

TRANSACTION

§

TRANSLATE

§

TRANSLATE_REGEX

§

TRANSLATION

§

TREAT

§

TRIGGER

§

TRIM

§

TRIM_ARRAY

§

TRUE

§

TRUNCATE

§

TRY_CAST

§

TYPE

§

UESCAPE

§

UNBOUNDED

§

UNCOMMITTED

§

UNION

§

UNIQUE

§

UNKNOWN

§

UNNEST

§

UPDATE

§

UPPER

§

USAGE

§

USER

§

USING

§

UUID

§

VALUE

§

VALUES

§

VALUE_OF

§

VARBINARY

§

VARCHAR

§

VARIADIC

§

VARYING

§

VAR_POP

§

VAR_SAMP

§

VERBOSE

§

VERSION

§

VERSIONING

§

VIEW

§

VIEWS

§

VIRTUAL

§

VOLATILE

§

WAIT

§

WATERMARK

§

WHEN

§

WHENEVER

§

WHERE

§

WIDTH_BUCKET

§

WINDOW

§

WITH

§

WITHIN

§

WITHOUT

§

WORK

§

WRITE

§

XML

§

XOR

§

YAML

§

YEAR

§

ZONE

Trait Implementations§

source§

impl Clone for Keyword

source§

fn clone(&self) -> Keyword

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Keyword

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Keyword

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Keyword

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Keyword

source§

fn cmp(&self, other: &Keyword) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
source§

impl<I> Parser<I, Keyword, ContextError> for Keyword
where I: TokenStream,

source§

fn parse_next(&mut self, input: &mut I) -> PResult<Keyword, ContextError>

Take tokens from the [Stream], turning it into the output Read more
§

fn parse_peek(&mut self, input: I) -> Result<(I, O), ErrMode<E>>

Take tokens from the [Stream], turning it into the output Read more
§

fn by_ref(&mut self) -> ByRef<'_, Self>
where Self: Sized,

Treat &mut Self as a parser Read more
§

fn value<O2>(self, val: O2) -> Value<Self, I, O, O2, E>
where Self: Sized, O2: Clone,

Produce the provided value Read more
§

fn default_value<O2>(self) -> DefaultValue<Self, I, O, O2, E>
where Self: Sized, O2: Default,

Produce a type’s default value Read more
§

fn void(self) -> Void<Self, I, O, E>
where Self: Sized,

Discards the output of the Parser Read more
§

fn output_into<O2>(self) -> OutputInto<Self, I, O, O2, E>
where Self: Sized, O: Into<O2>,

Convert the parser’s output to another type using std::convert::From Read more
§

fn recognize(self) -> Recognize<Self, I, O, E>
where Self: Sized, I: Stream,

Produce the consumed input as produced value. Read more
§

fn with_recognized(self) -> WithRecognized<Self, I, O, E>
where Self: Sized, I: Stream,

Produce the consumed input with the output Read more
§

fn map<G, O2>(self, map: G) -> Map<Self, G, I, O, O2, E>
where G: FnMut(O) -> O2, Self: Sized,

Maps a function over the output of a parser Read more
§

fn try_map<G, O2, E2>(self, map: G) -> TryMap<Self, G, I, O, O2, E, E2>
where Self: Sized, G: FnMut(O) -> Result<O2, E2>, I: Stream, E: FromExternalError<I, E2>,

Applies a function returning a Result over the output of a parser. Read more
§

fn verify_map<G, O2>(self, map: G) -> VerifyMap<Self, G, I, O, O2, E>
where Self: Sized, G: FnMut(O) -> Option<O2>, I: Stream, E: ParserError<I>,

Apply both [Parser::verify] and [Parser::map]. Read more
§

fn flat_map<G, H, O2>(self, map: G) -> FlatMap<Self, G, H, I, O, O2, E>
where Self: Sized, G: FnMut(O) -> H, H: Parser<I, O2, E>,

Creates a parser from the output of this one Read more
§

fn parse_to<O2>(self) -> ParseTo<Self, I, O, O2, E>
where Self: Sized, I: Stream, O: ParseSlice<O2>, E: ParserError<I>,

Apply std::str::FromStr to the output of the parser Read more
§

fn verify<G, O2>(self, filter: G) -> Verify<Self, G, I, O, O2, E>
where Self: Sized, G: FnMut(&O2) -> bool, I: Stream, O: Borrow<O2>, E: ParserError<I>, O2: ?Sized,

Returns the output of the child parser if it satisfies a verification function. Read more
§

fn context<C>(self, context: C) -> Context<Self, I, O, E, C>
where Self: Sized, I: Stream, E: AddContext<I, C>, C: Clone + Debug,

If parsing fails, add context to the error Read more
§

fn complete_err(self) -> CompleteErr<Self>
where Self: Sized,

Transforms [Incomplete][crate::error::ErrMode::Incomplete] into [Backtrack][crate::error::ErrMode::Backtrack] Read more
§

fn err_into<E2>(self) -> ErrInto<Self, I, O, E, E2>
where Self: Sized, E: Into<E2>,

Convert the parser’s error to another type using std::convert::From
source§

impl PartialEq for Keyword

source§

fn eq(&self, other: &Keyword) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for Keyword

source§

fn partial_cmp(&self, other: &Keyword) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for Keyword

source§

impl Eq for Keyword

source§

impl StructuralPartialEq for Keyword

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
source§

impl<I, O, E, T> ParserExt<I, O, E> for T
where T: Parser<I, O, E>,

source§

fn expect(self, expected: &'static str) -> Context<Self, I, O, E, StrContext>
where Self: Sized, I: Stream, E: AddContext<I, StrContext>,

Add a context to the error message. Read more
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<N> NodeTrait for N
where N: Copy + Ord + Hash,