pub struct Geometry;
Expand description
The MySQL GEOMETRY
type.
Trait Implementations§
Source§impl From<GeometryCollection> for Geometry
impl From<GeometryCollection> for Geometry
Source§fn from(_: GeometryCollection) -> Geometry
fn from(_: GeometryCollection) -> Geometry
Converts to this type from the input type.
Source§impl From<LineString> for Geometry
impl From<LineString> for Geometry
Source§fn from(_: LineString) -> Geometry
fn from(_: LineString) -> Geometry
Converts to this type from the input type.
Source§impl From<MultiLineString> for Geometry
impl From<MultiLineString> for Geometry
Source§fn from(_: MultiLineString) -> Geometry
fn from(_: MultiLineString) -> Geometry
Converts to this type from the input type.
Source§impl From<MultiPoint> for Geometry
impl From<MultiPoint> for Geometry
Source§fn from(_: MultiPoint) -> Geometry
fn from(_: MultiPoint) -> Geometry
Converts to this type from the input type.
Source§impl From<MultiPolygon> for Geometry
impl From<MultiPolygon> for Geometry
Source§fn from(_: MultiPolygon) -> Geometry
fn from(_: MultiPolygon) -> Geometry
Converts to this type from the input type.
Source§impl HasSqlType<Geometry> for Mysql
impl HasSqlType<Geometry> for Mysql
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 Copy for Geometry
impl NotNull for Geometry
impl 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoNullable for Twhere
T: NotNull,
impl<T> IntoNullable for Twhere
T: NotNull,
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more