Struct diesel_ltree::Ltree
source · [−]pub struct Ltree(pub String);
Tuple Fields
0: String
Trait Implementations
sourceimpl Expression for Ltree
impl Expression for Ltree
sourceimpl<DB> FromSql<Text, DB> for Ltree where
String: FromSql<Text, DB>,
DB: Backend,
DB: HasSqlType<Text>,
impl<DB> FromSql<Text, DB> for Ltree where
String: FromSql<Text, DB>,
DB: Backend,
DB: HasSqlType<Text>,
sourceimpl<__ST, __DB> FromSqlRow<__ST, __DB> for Ltree where
__DB: Backend,
Self: FromSql<__ST, __DB>,
impl<__ST, __DB> FromSqlRow<__ST, __DB> for Ltree 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
const FIELDS_NEEDED: usize
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 HasSqlType<Ltree> for Pg
impl HasSqlType<Ltree> for Pg
sourcefn metadata(lookup: &PgMetadataLookup) -> PgTypeMetadata
fn metadata(lookup: &PgMetadataLookup) -> PgTypeMetadata
Fetch the metadata for the given type Read more
sourceimpl QueryId for Ltree
impl QueryId for Ltree
sourceconst HAS_STATIC_QUERY_ID: bool
const HAS_STATIC_QUERY_ID: bool
Can the SQL generated by Self
be uniquely identified by its type? Read more
sourceimpl<__ST, __DB> Queryable<__ST, __DB> for Ltree where
__DB: Backend,
Self: FromSql<__ST, __DB>,
impl<__ST, __DB> Queryable<__ST, __DB> for Ltree where
__DB: Backend,
Self: FromSql<__ST, __DB>,
impl<QS> AppearsOnTable<QS> for Ltree
impl NonAggregate for Ltree
impl NotNull for Ltree
impl<QS> SelectableExpression<QS> for Ltree
impl SingleValue for Ltree
impl StructuralPartialEq for Ltree
Auto Trait Implementations
impl RefUnwindSafe for Ltree
impl Send for Ltree
impl Sync for Ltree
impl Unpin for Ltree
impl UnwindSafe for Ltree
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> NullableExpressionMethods for T where
T: Expression,
impl<T> NullableExpressionMethods for T where
T: Expression,
sourceimpl<T> PgExpressionMethods for T where
T: Expression,
impl<T> PgExpressionMethods for T where
T: Expression,
sourcefn is_not_distinct_from<T>(
self,
other: T
) -> IsNotDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
fn is_not_distinct_from<T>(
self,
other: T
) -> IsNotDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a PostgreSQL IS NOT DISTINCT FROM
expression. Read more
sourcefn is_distinct_from<T>(
self,
other: T
) -> IsDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
fn is_distinct_from<T>(
self,
other: T
) -> IsDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a PostgreSQL IS DISTINCT FROM
expression. 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