pub struct Untyped;
Expand description
Query nodes with this expression type do not have a statically at compile time known expression type.
An example for such a query node in diesel itself, is sql_query
as
we do not know which fields are returned from such a query at compile time.
For loading values from queries returning a type of this expression, consider
using #[derive(QueryableByName)]
on the corresponding result type.
Trait Implementations§
Source§impl<U, DB> CompatibleType<U, DB> for Untyped
impl<U, DB> CompatibleType<U, DB> for Untyped
Source§impl<DB, T> FromSqlRow<Untyped, DB> for Twhere
DB: Backend,
T: QueryableByName<DB>,
impl<DB, T> FromSqlRow<Untyped, DB> for Twhere
DB: Backend,
T: QueryableByName<DB>,
Source§fn build_from_row<'a>(row: &impl Row<'a, DB>) -> Result<Self>
fn build_from_row<'a>(row: &impl Row<'a, DB>) -> Result<Self>
See the trait documentation.
impl Copy for Untyped
impl TypedExpressionType for Untyped
Auto Trait Implementations§
impl Freeze for Untyped
impl RefUnwindSafe for Untyped
impl Send for Untyped
impl Sync for Untyped
impl Unpin for Untyped
impl UnwindSafe for Untyped
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§impl<DB> QueryMetadata<Untyped> for DBwhere
DB: Backend,
impl<DB> QueryMetadata<Untyped> for DBwhere
DB: Backend,
Source§fn row_metadata(
_: &mut <DB as TypeMetadata>::MetadataLookup,
row: &mut Vec<Option<<DB as TypeMetadata>::TypeMetadata>>,
)
fn row_metadata( _: &mut <DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<DB as TypeMetadata>::TypeMetadata>>, )
The exact return value of this function is considered to be a
backend specific implementation detail. You should not rely on those
values if you not own the corresponding backend