Trait diesel::expression::QueryMetadata
source · pub trait QueryMetadata<T>: Backend {
// Required method
fn row_metadata(
lookup: &mut Self::MetadataLookup,
out: &mut Vec<Option<Self::TypeMetadata>>
);
}
Expand description
A helper to translate type level sql type information into runtime type information for specific queries
If you do not implement a custom backend implementation this trait is likely not relevant for you.
Required Methods§
sourcefn row_metadata(
lookup: &mut Self::MetadataLookup,
out: &mut Vec<Option<Self::TypeMetadata>>
)
fn row_metadata( lookup: &mut Self::MetadataLookup, out: &mut Vec<Option<Self::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
Object Safety§
This trait is not object safe.