pub enum RexType {
Show 13 variants
Literal(Literal),
Selection(Box<FieldReference>),
ScalarFunction(ScalarFunction),
WindowFunction(WindowFunction),
IfThen(Box<IfThen>),
SwitchExpression(Box<SwitchExpression>),
SingularOrList(Box<SingularOrList>),
MultiOrList(MultiOrList),
Cast(Box<Cast>),
Subquery(Box<Subquery>),
Nested(Nested),
DynamicParameter(DynamicParameter),
Enum(Enum),
}
Variants§
Literal(Literal)
Selection(Box<FieldReference>)
ScalarFunction(ScalarFunction)
WindowFunction(WindowFunction)
IfThen(Box<IfThen>)
SwitchExpression(Box<SwitchExpression>)
SingularOrList(Box<SingularOrList>)
MultiOrList(MultiOrList)
Cast(Box<Cast>)
Subquery(Box<Subquery>)
Nested(Nested)
DynamicParameter(DynamicParameter)
Enum(Enum)
deprecated: enum literals are only sensible in the context of function arguments, for which FunctionArgument should now be used
Implementations§
Source§impl RexType
impl RexType
Sourcepub fn merge(
field: &mut Option<RexType>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<RexType>, 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§
impl StructuralPartialEq for RexType
Auto Trait Implementations§
impl !Freeze for RexType
impl RefUnwindSafe for RexType
impl Send for RexType
impl Sync for RexType
impl Unpin for RexType
impl UnwindSafe for RexType
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