pub enum SubqueryType {
Scalar(Box<Scalar>),
InPredicate(Box<InPredicate>),
SetPredicate(Box<SetPredicate>),
SetComparison(Box<SetComparison>),
}
Variants§
Scalar(Box<Scalar>)
Scalar subquery
InPredicate(Box<InPredicate>)
x IN y predicate
SetPredicate(Box<SetPredicate>)
EXISTS/UNIQUE predicate
SetComparison(Box<SetComparison>)
ANY/ALL predicate
Implementations§
Source§impl SubqueryType
impl SubqueryType
Sourcepub fn merge(
field: &mut Option<SubqueryType>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<SubqueryType>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for SubqueryType
impl Clone for SubqueryType
Source§fn clone(&self) -> SubqueryType
fn clone(&self) -> SubqueryType
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 SubqueryType
impl Debug for SubqueryType
Source§impl PartialEq for SubqueryType
impl PartialEq for SubqueryType
impl StructuralPartialEq for SubqueryType
Auto Trait Implementations§
impl Freeze for SubqueryType
impl RefUnwindSafe for SubqueryType
impl Send for SubqueryType
impl Sync for SubqueryType
impl Unpin for SubqueryType
impl UnwindSafe for SubqueryType
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