pub struct CreateRecordDefaultsQuery {
pub query: DbQuery,
pub field_placeholders: Vec<(ScalarField, Placeholder)>,
}Expand description
A query that retrieves default values needed for an insert operation.
Fields§
§query: DbQueryThe query that returns the default values.
field_placeholders: Vec<(ScalarField, Placeholder)>The fields that are selected in the query and their corresponding placeholders. These placeholders are referred to by the subsequent insert query.
Auto Trait Implementations§
impl Freeze for CreateRecordDefaultsQuery
impl !RefUnwindSafe for CreateRecordDefaultsQuery
impl Send for CreateRecordDefaultsQuery
impl Sync for CreateRecordDefaultsQuery
impl Unpin for CreateRecordDefaultsQuery
impl UnsafeUnpin for CreateRecordDefaultsQuery
impl !UnwindSafe for CreateRecordDefaultsQuery
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more