Struct libpgquery_sys::SelectStmt [−][src]
pub struct SelectStmt {Show 19 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 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>
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
Returns the enum value of limit_option
, or the default if the field is set to an invalid enum value.
Sets limit_option
to the provided enum value.
Returns the enum value of op
, or the default if the field is set to an invalid enum value.
Sets op
to the provided enum value.
Trait Implementations
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SelectStmt
impl Send for SelectStmt
impl Sync for SelectStmt
impl Unpin for SelectStmt
impl UnwindSafe for SelectStmt
Blanket Implementations
Mutably borrows from an owned value. Read more