pub struct SQLTableFunctionResult {
pub columns: Vec<String>,
pub rows: Vec<Vec<Value>>,
}Expand description
Result shape returned by a registered SQL table function.
Fields§
§columns: Vec<String>§rows: Vec<Vec<Value>>Implementations§
Source§impl SQLTableFunctionResult
impl SQLTableFunctionResult
pub fn new( columns: impl IntoIterator<Item = impl Into<String>>, rows: Vec<Vec<Value>>, ) -> SQLTableFunctionResult
Trait Implementations§
Source§impl Clone for SQLTableFunctionResult
impl Clone for SQLTableFunctionResult
Source§fn clone(&self) -> SQLTableFunctionResult
fn clone(&self) -> SQLTableFunctionResult
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 SQLTableFunctionResult
impl Debug for SQLTableFunctionResult
Source§impl From<SQLTableFunctionResult> for SQLTableFunctionStream
impl From<SQLTableFunctionResult> for SQLTableFunctionStream
Source§fn from(result: SQLTableFunctionResult) -> SQLTableFunctionStream
fn from(result: SQLTableFunctionResult) -> SQLTableFunctionStream
Converts to this type from the input type.
Source§impl PartialEq for SQLTableFunctionResult
impl PartialEq for SQLTableFunctionResult
impl StructuralPartialEq for SQLTableFunctionResult
Auto Trait Implementations§
impl Freeze for SQLTableFunctionResult
impl RefUnwindSafe for SQLTableFunctionResult
impl Send for SQLTableFunctionResult
impl Sync for SQLTableFunctionResult
impl Unpin for SQLTableFunctionResult
impl UnsafeUnpin for SQLTableFunctionResult
impl UnwindSafe for SQLTableFunctionResult
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> 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