Enum tusk_rs::query::PostgresFieldLocation
source · pub enum PostgresFieldLocation {
Local(&'static str),
Expression(&'static str),
Join(&'static str, &'static str),
}
Expand description
Describes what kind of field this is.
For more information, read PostgresField
.
Variants§
Local(&'static str)
A field on the table itself.
Expression(&'static str)
An expression that can be evaluated.
Join(&'static str, &'static str)
A field on a foreign table. Syntax is (table, field).
Auto Trait Implementations§
impl Freeze for PostgresFieldLocation
impl RefUnwindSafe for PostgresFieldLocation
impl Send for PostgresFieldLocation
impl Sync for PostgresFieldLocation
impl Unpin for PostgresFieldLocation
impl UnwindSafe for PostgresFieldLocation
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