pub struct PdParseResult { /* private fields */ }
Expand description
Wrapper around pg_query::protobuf::ParseResult
, which allows
the caller to use pg_query
types and methods to inspect the statement.
Methods from Deref<Target = ParseResult>§
Trait Implementations§
Source§impl Clone for PdParseResult
impl Clone for PdParseResult
Source§impl Debug for PdParseResult
impl Debug for PdParseResult
Source§impl Deref for PdParseResult
impl Deref for PdParseResult
Source§impl Drop for PdParseResult
impl Drop for PdParseResult
Source§impl From<PdStatement> for PdParseResult
impl From<PdStatement> for PdParseResult
Source§fn from(value: PdStatement) -> Self
fn from(value: PdStatement) -> Self
Create the binding from a FFI-passed reference.
SAFETY: Memory is owned by the caller.
Auto Trait Implementations§
impl Freeze for PdParseResult
impl RefUnwindSafe for PdParseResult
impl Send for PdParseResult
impl Sync for PdParseResult
impl Unpin for PdParseResult
impl UnwindSafe for PdParseResult
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> 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