pub struct NestedPath { /* private fields */ }Available on crate feature
backend-postgres only.Expand description
NESTED PATH column definition in a JSON_TABLE COLUMNS clause.
Implementationsยง
Sourceยงimpl NestedPath
impl NestedPath
pub fn new(path: impl Into<Cow<'static, str>>) -> Self
pub fn path_name(self, name: impl Into<Cow<'static, str>>) -> Self
pub fn for_ordinality(self, name: impl Into<Cow<'static, str>>) -> Self
pub fn column(self, column: Column) -> Self
pub fn exists(self, column: ExistsColumn) -> Self
pub fn nested(self, nested: NestedPath) -> Self
Trait Implementationsยง
Sourceยงimpl Clone for NestedPath
impl Clone for NestedPath
Sourceยงfn clone(&self) -> NestedPath
fn clone(&self) -> NestedPath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementationsยง
impl Freeze for NestedPath
impl RefUnwindSafe for NestedPath
impl Send for NestedPath
impl Sync for NestedPath
impl Unpin for NestedPath
impl UnsafeUnpin for NestedPath
impl UnwindSafe for NestedPath
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