pub enum ReturnsRef {
One(SqlMappingRef),
SetOf(SqlMappingRef),
Table(&'static [SqlMappingRef]),
}Expand description
Const-friendly return metadata.
Variants§
Trait Implementations§
Source§impl Clone for ReturnsRef
impl Clone for ReturnsRef
Source§fn clone(&self) -> ReturnsRef
fn clone(&self) -> ReturnsRef
Returns a duplicate of the value. Read more
1.0.0 · 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 ReturnsRef
impl Debug for ReturnsRef
Source§impl From<ReturnsRef> for Returns
impl From<ReturnsRef> for Returns
Source§fn from(value: ReturnsRef) -> Self
fn from(value: ReturnsRef) -> Self
Converts to this type from the input type.
Source§impl Hash for ReturnsRef
impl Hash for ReturnsRef
Source§impl Ord for ReturnsRef
impl Ord for ReturnsRef
Source§fn cmp(&self, other: &ReturnsRef) -> Ordering
fn cmp(&self, other: &ReturnsRef) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReturnsRef
impl PartialEq for ReturnsRef
Source§impl PartialOrd for ReturnsRef
impl PartialOrd for ReturnsRef
impl Copy for ReturnsRef
impl Eq for ReturnsRef
impl StructuralPartialEq for ReturnsRef
Auto Trait Implementations§
impl Freeze for ReturnsRef
impl RefUnwindSafe for ReturnsRef
impl Send for ReturnsRef
impl Sync for ReturnsRef
impl Unpin for ReturnsRef
impl UnsafeUnpin for ReturnsRef
impl UnwindSafe for ReturnsRef
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.