pub struct SelectStmt {Show 20 fields
pub distinct_clause: Vec<Node>,
pub into_clause: Option<Box<IntoClause>>,
pub target_list: Vec<Node>,
pub from_clause: Vec<Node>,
pub where_clause: Option<Box<Node>>,
pub group_clause: Vec<Node>,
pub group_distinct: bool,
pub having_clause: Option<Box<Node>>,
pub window_clause: Vec<Node>,
pub values_lists: Vec<Node>,
pub sort_clause: Vec<Node>,
pub limit_offset: Option<Box<Node>>,
pub limit_count: Option<Box<Node>>,
pub limit_option: i32,
pub locking_clause: Vec<Node>,
pub with_clause: Option<WithClause>,
pub op: i32,
pub all: bool,
pub larg: Option<Box<SelectStmt>>,
pub rarg: Option<Box<SelectStmt>>,
}
Fields§
§distinct_clause: Vec<Node>
§into_clause: Option<Box<IntoClause>>
§target_list: Vec<Node>
§from_clause: Vec<Node>
§where_clause: Option<Box<Node>>
§group_clause: Vec<Node>
§group_distinct: bool
§having_clause: Option<Box<Node>>
§window_clause: Vec<Node>
§values_lists: Vec<Node>
§sort_clause: Vec<Node>
§limit_offset: Option<Box<Node>>
§limit_count: Option<Box<Node>>
§limit_option: i32
§locking_clause: Vec<Node>
§with_clause: Option<WithClause>
§op: i32
§all: bool
§larg: Option<Box<SelectStmt>>
§rarg: Option<Box<SelectStmt>>
Implementations§
Source§impl SelectStmt
impl SelectStmt
Source§impl SelectStmt
impl SelectStmt
Sourcepub fn limit_option(&self) -> LimitOption
pub fn limit_option(&self) -> LimitOption
Returns the enum value of limit_option
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_limit_option(&mut self, value: LimitOption)
pub fn set_limit_option(&mut self, value: LimitOption)
Sets limit_option
to the provided enum value.
Sourcepub fn op(&self) -> SetOperation
pub fn op(&self) -> SetOperation
Returns the enum value of op
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_op(&mut self, value: SetOperation)
pub fn set_op(&mut self, value: SetOperation)
Sets op
to the provided enum value.
Trait Implementations§
Source§impl Clone for SelectStmt
impl Clone for SelectStmt
Source§fn clone(&self) -> SelectStmt
fn clone(&self) -> SelectStmt
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 SelectStmt
impl Debug for SelectStmt
Source§impl Default for SelectStmt
impl Default for SelectStmt
Source§impl Message for SelectStmt
impl Message for SelectStmt
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for SelectStmt
impl PartialEq for SelectStmt
impl StructuralPartialEq for SelectStmt
Auto Trait Implementations§
impl Freeze for SelectStmt
impl RefUnwindSafe for SelectStmt
impl Send for SelectStmt
impl Sync for SelectStmt
impl Unpin for SelectStmt
impl UnwindSafe for SelectStmt
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