pub struct ParsedStatement {
pub has_error: bool,
pub statement: CassandraStatement,
/* private fields */
}
Fields§
§has_error: bool
true if the statement had an error in parsing.
statement: CassandraStatement
the parsed statement.
Implementations§
Source§impl ParsedStatement
impl ParsedStatement
pub fn new(node: Node<'_>, source: &str) -> ParsedStatement
Trait Implementations§
Source§impl Debug for ParsedStatement
impl Debug for ParsedStatement
Source§impl PartialEq for ParsedStatement
impl PartialEq for ParsedStatement
impl StructuralPartialEq for ParsedStatement
Auto Trait Implementations§
impl Freeze for ParsedStatement
impl RefUnwindSafe for ParsedStatement
impl Send for ParsedStatement
impl Sync for ParsedStatement
impl Unpin for ParsedStatement
impl UnwindSafe for ParsedStatement
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> 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