Skip to main content

JoinMeta

Trait JoinMeta 

Source
pub trait JoinMeta {
    type IdType: Clone + Send + Eq + PartialEq + Hash;

    // Required method
    fn _id(&self) -> Self::IdType;
}

Required Associated Types§

Required Methods§

Source

fn _id(&self) -> Self::IdType

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> JoinMeta for Option<T>
where T: JoinMeta,

Source§

type IdType = Option<<T as JoinMeta>::IdType>

Source§

fn _id(&self) -> <Option<T> as JoinMeta>::IdType

Implementors§

Source§

impl<T> JoinMeta for Join<T>
where T: JoinMeta,