Struct diesel_mysql_spatial::sql_types::Geometry
source · [−]pub struct Geometry;Expand description
The MySQL GEOMETRY type.
Trait Implementations
sourceimpl From<GeometryCollection> for Geometry
impl From<GeometryCollection> for Geometry
sourcefn from(_: GeometryCollection) -> Geometry
fn from(_: GeometryCollection) -> Geometry
Converts to this type from the input type.
sourceimpl From<LineString> for Geometry
impl From<LineString> for Geometry
sourcefn from(_: LineString) -> Geometry
fn from(_: LineString) -> Geometry
Converts to this type from the input type.
sourceimpl From<MultiLineString> for Geometry
impl From<MultiLineString> for Geometry
sourcefn from(_: MultiLineString) -> Geometry
fn from(_: MultiLineString) -> Geometry
Converts to this type from the input type.
sourceimpl From<MultiPoint> for Geometry
impl From<MultiPoint> for Geometry
sourcefn from(_: MultiPoint) -> Geometry
fn from(_: MultiPoint) -> Geometry
Converts to this type from the input type.
sourceimpl From<MultiPolygon> for Geometry
impl From<MultiPolygon> for Geometry
sourcefn from(_: MultiPolygon) -> Geometry
fn from(_: MultiPolygon) -> Geometry
Converts to this type from the input type.
sourceimpl HasSqlType<Geometry> for Mysql
impl HasSqlType<Geometry> for Mysql
sourceimpl QueryId for Geometry
impl QueryId for Geometry
sourceconst 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 more
sourceimpl ToSql<Geometry, Mysql> for LineString
impl ToSql<Geometry, Mysql> for LineString
sourceimpl ToSql<Geometry, Mysql> for MultiPoint
impl ToSql<Geometry, Mysql> for MultiPoint
sourceimpl ToSql<Geometry, Mysql> for MultiLineString
impl ToSql<Geometry, Mysql> for MultiLineString
sourceimpl ToSql<Geometry, Mysql> for MultiPolygon
impl ToSql<Geometry, Mysql> for MultiPolygon
sourceimpl ToSql<Geometry, Mysql> for GeometryCollection
impl ToSql<Geometry, Mysql> for GeometryCollection
impl Copy for Geometry
impl NotNull for Geometry
impl SingleValue for Geometry
Auto Trait Implementations
impl RefUnwindSafe for Geometry
impl Send for Geometry
impl Sync for Geometry
impl Unpin for Geometry
impl UnwindSafe for Geometry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoNullable for T where
T: NotNull,
impl<T> IntoNullable for T where
T: NotNull,
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Convert self to an expression for Diesel’s query builder. Read more
sourcefn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self to an expression for Diesel’s query builder. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more