[−][src]Struct amitu_base::point::Point
Point is represented in Postgres as a tuple of 64 bit floating point values (x, y). This struct is a dumb wrapper type, meant only to indicate the tuple's meaning.
Fields
lat: f64long: f64Trait Implementations
impl Clone for Point[src]
impl PartialEq<Point> for Point[src]
impl Copy for Point[src]
impl Debug for Point[src]
impl<'expr> AsExpression<PgPoint> for &'expr Point[src]
type Expression = Bound<PgPoint, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
impl<'expr> AsExpression<Nullable<PgPoint>> for &'expr Point[src]
type Expression = Bound<Nullable<PgPoint>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
impl AsExpression<PgPoint> for Point[src]
type Expression = Bound<PgPoint, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
impl AsExpression<Nullable<PgPoint>> for Point[src]
type Expression = Bound<Nullable<PgPoint>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
impl<__ST, __DB> Queryable<__ST, __DB> for Point where
__DB: Backend,
Self: FromSql<__ST, __DB>, [src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
type Row = Self
The Rust type you'd like to map from. Read more
fn build(row: Self::Row) -> Self[src]
impl NotNull for Point[src]
impl SingleValue for Point[src]
impl<__DB> ToSql<Nullable<PgPoint>, __DB> for Point where
__DB: Backend,
Self: ToSql<PgPoint, __DB>, [src]
__DB: Backend,
Self: ToSql<PgPoint, __DB>,
impl ToSql<PgPoint, Pg> for Point[src]
impl FromSql<PgPoint, Pg> for Point[src]
impl<__ST, __DB> FromSqlRow<__ST, __DB> for Point where
__DB: Backend,
Self: FromSql<__ST, __DB>, [src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>[src]
const FIELDS_NEEDED: usize[src]
impl Serialize for Point[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de> Deserialize<'de> for Point[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for Point
impl Sync for Point
impl Send for Point
impl UnwindSafe for Point
impl RefUnwindSafe for Point
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> IntoSql for T[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>, [src]
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>, [src]
&'a Self: AsExpression<T>,
impl<T> IntoNullable for T where
T: NotNull, [src]
T: NotNull,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> Any for T where
T: Any,
T: Any,