Struct diesel_mysql_spatial::sql_types::LineString
source · [−]pub struct LineString;Expand description
The MySQL LINESTRING type.
Trait Implementations
sourceimpl Clone for LineString
impl Clone for LineString
sourcefn clone(&self) -> LineString
fn clone(&self) -> LineString
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 LineString
impl Debug for LineString
sourceimpl Default for LineString
impl Default for LineString
sourcefn default() -> LineString
fn default() -> LineString
Returns the “default value” for a type. Read more
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 FromSql<LineString, Mysql> for LineString
impl FromSql<LineString, Mysql> for LineString
sourceimpl FromSql<LineString, Mysql> for Geometry
impl FromSql<LineString, Mysql> for Geometry
sourceimpl FromSql<LineString, Mysql> for LineString<f64>
impl FromSql<LineString, Mysql> for LineString<f64>
sourceimpl HasSqlType<LineString> for Mysql
impl HasSqlType<LineString> for Mysql
sourceimpl QueryId for LineString
impl QueryId for LineString
type QueryId = LineString
type QueryId = LineString
A type which uniquely represents Self in a SQL query. Read more
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<LineString, Mysql> for LineString
impl ToSql<LineString, Mysql> for LineString
sourceimpl ToSql<LineString, Mysql> for LineString<f64>
impl ToSql<LineString, Mysql> for LineString<f64>
impl Copy for LineString
impl NotNull for LineString
impl SingleValue for LineString
Auto Trait Implementations
impl RefUnwindSafe for LineString
impl Send for LineString
impl Sync for LineString
impl Unpin for LineString
impl UnwindSafe for LineString
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