pub struct GeometryCollection {
pub srid: SRID,
pub geom: GeometryCollection<f64>,
}Expand description
A collection of Geometry types.
MySQL extension: The spatial reference system identifier (SRID) may identify the used coordinate system.
Fields
srid: SRIDgeom: GeometryCollection<f64>Implementations
Methods from Deref<Target = GeometryCollection<f64>>
Trait Implementations
sourceimpl AsMut<GeometryCollection<f64>> for GeometryCollection
impl AsMut<GeometryCollection<f64>> for GeometryCollection
sourcefn as_mut(&mut self) -> &mut GeometryCollection<f64>
fn as_mut(&mut self) -> &mut GeometryCollection<f64>
Converts this type into a mutable reference of the (usually inferred) input type.
sourceimpl AsRef<GeometryCollection<f64>> for GeometryCollection
impl AsRef<GeometryCollection<f64>> for GeometryCollection
sourcefn as_ref(&self) -> &GeometryCollection<f64>
fn as_ref(&self) -> &GeometryCollection<f64>
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for GeometryCollection
impl Clone for GeometryCollection
sourcefn clone(&self) -> GeometryCollection
fn clone(&self) -> GeometryCollection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GeometryCollection
impl Debug for GeometryCollection
sourceimpl Default for GeometryCollection
impl Default for GeometryCollection
sourceimpl Deref for GeometryCollection
impl Deref for GeometryCollection
sourceimpl DerefMut for GeometryCollection
impl DerefMut for GeometryCollection
sourceimpl From<GeometryCollection<f64>> for GeometryCollection
impl From<GeometryCollection<f64>> for GeometryCollection
sourcefn from(geom: GeometryCollection<f64>) -> Self
fn from(geom: GeometryCollection<f64>) -> Self
Converts to this type from the input type.
sourceimpl From<GeometryCollection> for Geometry
impl From<GeometryCollection> for Geometry
sourcefn from(other: GeometryCollection) -> Self
fn from(other: GeometryCollection) -> Self
Converts to this type from the input type.
sourceimpl FromSql<GeometryCollection, Mysql> for GeometryCollection
impl FromSql<GeometryCollection, Mysql> for GeometryCollection
sourceimpl<__ST, __DB> FromSqlRow<__ST, __DB> for GeometryCollection where
__DB: Backend,
Self: FromSql<__ST, __DB>,
impl<__ST, __DB> FromSqlRow<__ST, __DB> for GeometryCollection where
__DB: Backend,
Self: FromSql<__ST, __DB>,
sourcefn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
See the trait documentation.
sourceconst FIELDS_NEEDED: usize = 1usize
const FIELDS_NEEDED: usize = 1usize
The number of fields that this type will consume. Must be equal to
the number of times you would call row.take() in build_from_row Read more
sourceimpl PartialEq<GeometryCollection> for GeometryCollection
impl PartialEq<GeometryCollection> for GeometryCollection
sourcefn eq(&self, other: &GeometryCollection) -> bool
fn eq(&self, other: &GeometryCollection) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GeometryCollection) -> bool
fn ne(&self, other: &GeometryCollection) -> bool
This method tests for !=.
sourceimpl<__ST, __DB> Queryable<__ST, __DB> for GeometryCollection where
__DB: Backend,
Self: FromSql<__ST, __DB>,
impl<__ST, __DB> Queryable<__ST, __DB> for GeometryCollection where
__DB: Backend,
Self: FromSql<__ST, __DB>,
sourceimpl ToSql<Geometry, Mysql> for GeometryCollection
impl ToSql<Geometry, Mysql> for GeometryCollection
sourceimpl ToSql<GeometryCollection, Mysql> for GeometryCollection
impl ToSql<GeometryCollection, Mysql> for GeometryCollection
sourceimpl TryFrom<Geometry> for GeometryCollection
impl TryFrom<Geometry> for GeometryCollection
impl StructuralPartialEq for GeometryCollection
Auto Trait Implementations
impl RefUnwindSafe for GeometryCollection
impl Send for GeometryCollection
impl Sync for GeometryCollection
impl Unpin for GeometryCollection
impl UnwindSafe for GeometryCollection
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> 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)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more