Struct sql_type::SelectTypeColumn
source · [−]pub struct SelectTypeColumn<'a> {
pub name: Option<&'a str>,
pub type_: FullType<'a>,
pub span: Span,
}
Expand description
A column in select
Fields
name: Option<&'a str>
The name of the column if one is specified or can be computed
type_: FullType<'a>
The type of the data
span: Span
A span of the expression yielding the column
Trait Implementations
sourceimpl<'a> Clone for SelectTypeColumn<'a>
impl<'a> Clone for SelectTypeColumn<'a>
sourcefn clone(&self) -> SelectTypeColumn<'a>
fn clone(&self) -> SelectTypeColumn<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for SelectTypeColumn<'a>
impl<'a> Debug for SelectTypeColumn<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SelectTypeColumn<'a>
impl<'a> Send for SelectTypeColumn<'a>
impl<'a> Sync for SelectTypeColumn<'a>
impl<'a> Unpin for SelectTypeColumn<'a>
impl<'a> UnwindSafe for SelectTypeColumn<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> OptSpanned for T where
T: Spanned,
impl<T> OptSpanned for T where
T: Spanned,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more