Skip to main content

Related

Trait Related 

Source
pub trait Related<T, X> {
    // Required method
    fn into_parts(self) -> (Vec<RelHop>, &'static str);
}
Expand description

Column of related model T that can be reached through more hops: a Field of T, or a Joined handle already rooted at T.

Required Methods§

Source

fn into_parts(self) -> (Vec<RelHop>, &'static str)

Hops (relative to T) and the column at their end.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, X> Related<T, X> for Field<T, X>

Source§

impl<T, X> Related<T, X> for Joined<T, X>