Skip to main content

From

Struct From 

Source
pub struct From {
Show 15 fields pub cursor: i64, pub table: Option<String>, pub alias: Option<String>, pub outer: bool, pub right: bool, pub left_of_right: bool, pub tab_func: bool, pub args: Vec<Node>, pub vector_table: Option<String>, pub cte: bool, pub recursive: bool, pub view: bool, pub virtual_: bool, pub subquery: Option<Box<Sel>>, pub on: Option<Node>,
}

Fields§

§cursor: i64§table: Option<String>

A table by the name its DDL spells, whatever case the statement writes it in, and a table-valued function by its module’s name; a view, a WITH query or a subquery as written.

§alias: Option<String>§outer: bool

On the nullable side of an outer join.

§right: bool

Joined by a RIGHT or FULL JOIN, which keeps the rows of the side before it that match nothing.

§left_of_right: bool

Before a RIGHT or FULL JOIN, which null-extends it.

§tab_func: bool§args: Vec<Node>

A table-valued function’s arguments (json_each(:ids)); empty for anything else.

§vector_table: Option<String>

For libSQL’s vector_top_k('docs_emb', …), the table whose rows the index it names holds, which tables describes; None where the index is not written as a string or names no index.

§cte: bool§recursive: bool

A recursive WITH query’s read of itself, inside the query, which has no subquery of its own.

§view: bool§virtual_: bool§subquery: Option<Box<Sel>>§on: Option<Node>

Trait Implementations§

Source§

impl Debug for From

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for From

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl Forget for From

§

impl Freeze for From

§

impl Move for From

§

impl RefUnwindSafe for From

§

impl Send for From

§

impl Sync for From

§

impl Unpin for From

§

impl UnsafeUnpin for From

§

impl UnwindSafe for From

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.