pub struct PgLTree(pub String);Expand description
PostgreSQL LTREE type – a dot-separated label path for hierarchical data.
LTREE is a PostgreSQL extension type used for representing labels of data
stored in a hierarchical tree-like structure. Example: "top.science.astronomy".
Wire format: UTF-8 text bytes (same as TEXT). Uses TEXT OID as carrier since LTREE is an extension type without a stable OID.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl ToSql for PgLTree
impl ToSql for PgLTree
impl Eq for PgLTree
impl StructuralPartialEq for PgLTree
Auto Trait Implementations§
impl Freeze for PgLTree
impl RefUnwindSafe for PgLTree
impl Send for PgLTree
impl Sync for PgLTree
impl Unpin for PgLTree
impl UnsafeUnpin for PgLTree
impl UnwindSafe for PgLTree
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.