pub struct Geometry;
Trait Implementations§
source§impl<'expr2, 'expr, B: AsRef<[u8]>> AsExpression<Geometry> for &'expr2 &'expr Ewkb<B>
impl<'expr2, 'expr, B: AsRef<[u8]>> AsExpression<Geometry> for &'expr2 &'expr Ewkb<B>
§type Expression = Bound<Geometry, &'expr2 &'expr Ewkb<B>>
type Expression = Bound<Geometry, &'expr2 &'expr Ewkb<B>>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'expr, B: AsRef<[u8]>> AsExpression<Geometry> for &'expr Ewkb<B>
impl<'expr, B: AsRef<[u8]>> AsExpression<Geometry> for &'expr Ewkb<B>
§type Expression = Bound<Geometry, &'expr Ewkb<B>>
type Expression = Bound<Geometry, &'expr Ewkb<B>>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<B: AsRef<[u8]>> AsExpression<Geometry> for Ewkb<B>
impl<B: AsRef<[u8]>> AsExpression<Geometry> for Ewkb<B>
§type Expression = Bound<Geometry, Ewkb<B>>
type Expression = Bound<Geometry, Ewkb<B>>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl HasSqlType<Geometry> for Pg
impl HasSqlType<Geometry> for Pg
source§fn metadata(lookup: &mut Self::MetadataLookup) -> PgTypeMetadata
fn metadata(lookup: &mut Self::MetadataLookup) -> PgTypeMetadata
Fetch the metadata for the given type Read more
source§impl QueryId for Geometry
impl QueryId for Geometry
source§const HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by
Self
be uniquely identified by its type? Read moreimpl SingleValue for Geometry
Auto Trait Implementations§
impl Freeze for Geometry
impl RefUnwindSafe for Geometry
impl Send for Geometry
impl Sync for Geometry
impl Unpin for Geometry
impl UnwindSafe for Geometry
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moresource§impl<T> IntoNotNullable for T
impl<T> IntoNotNullable for T
§type NotNullable = T
type NotNullable = T
The not nullable representation of this type. Read more
source§impl<T> IntoNullable for T
impl<T> IntoNullable for T
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more