pub enum Returns {
One(SqlMapping),
SetOf(SqlMapping),
Table(Vec<SqlMapping>),
}
Expand description
Describes the RETURNS of CREATE FUNCTION … RETURNS … See the PostgreSQL documentation for [CREATE FUNCTION] [CREATE FUNCTION]: https://www.postgresql.org/docs/current/sql-createfunction.html
Variants§
Trait Implementations§
Source§impl Ord for Returns
impl Ord for Returns
Source§impl PartialOrd for Returns
impl PartialOrd for Returns
impl Eq for Returns
impl StructuralPartialEq for Returns
Auto Trait Implementations§
impl Freeze for Returns
impl RefUnwindSafe for Returns
impl Send for Returns
impl Sync for Returns
impl Unpin for Returns
impl UnwindSafe for Returns
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.