pub struct TableFunction {
pub name: String,
pub binding: Option<FunctionBinding>,
pub output_name: String,
pub relations: Option<OperatorJoinRelations>,
pub args: Vec<Expr>,
pub column_aliases: Vec<String>,
pub column_types: Vec<String>,
}Expand description
One function inside a FromClause::FunctionGroup.
A member owns its column definition list because ROWS FROM permits a
distinct AS (name type, ...) clause after each call. The range item’s
relation alias, positional aliases, and ordinality remain on the enclosing
group.
Fields§
§name: String§binding: Option<FunctionBinding>Exact catalog routine identity for a stored expression tree. Parser-produced trees leave this unset and catalog owners bind it before persistence.
output_name: String§relations: Option<OperatorJoinRelations>§args: Vec<Expr>§column_aliases: Vec<String>§column_types: Vec<String>Trait Implementations§
Source§impl Clone for TableFunction
impl Clone for TableFunction
Source§fn clone(&self) -> TableFunction
fn clone(&self) -> TableFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TableFunction
impl Debug for TableFunction
Source§impl<'de> Deserialize<'de> for TableFunction
impl<'de> Deserialize<'de> for TableFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableFunction
impl PartialEq for TableFunction
Source§impl Serialize for TableFunction
impl Serialize for TableFunction
impl StructuralPartialEq for TableFunction
Auto Trait Implementations§
impl Freeze for TableFunction
impl RefUnwindSafe for TableFunction
impl Send for TableFunction
impl Sync for TableFunction
impl Unpin for TableFunction
impl UnsafeUnpin for TableFunction
impl UnwindSafe for TableFunction
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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