pub trait StaticVersion {
    type Is: 'static;

    // Provided method
    fn type_id() -> TypeId { ... }
}

Required Associated Types§

source

type Is: 'static

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'r, 'q, F: Filterable<'r, 'q>, C: EntityColumn, G: Modelable + ?Sized> StaticVersion for Filter<'r, 'q, F, C, G>
where <F as StaticVersion>::Is: Filterable<'static, 'static>,

§

type Is = Filter<'static, 'static, <F as StaticVersion>::Is, C, u64>

source§

impl<'r, 'q, S: Settable<'r, 'q>, C: EntityColumn, G: Modelable + ?Sized> StaticVersion for Set<'r, 'q, S, C, G>
where <S as StaticVersion>::Is: Settable<'static, 'static>,

§

type Is = Set<'static, 'static, <S as StaticVersion>::Is, C, u64>

source§

impl<'r, 'q, T: Entity> StaticVersion for Delete<'r, 'q, T>

§

type Is = Delete<'static, 'static, T>

source§

impl<'r, 'q, T: Entity> StaticVersion for Select<'r, 'q, T>

§

type Is = Select<'static, 'static, T>

source§

impl<'r, 'q, T: Entity> StaticVersion for SelectID<'r, 'q, T>

§

type Is = SelectID<'static, 'static, T>

source§

impl<'r, 'q, T: Entity> StaticVersion for Entire<'r, 'q, T>

§

type Is = Entire<'static, 'static, T>

source§

impl<'r, 'q, T: Entity> StaticVersion for Update<'r, 'q, T>

§

type Is = Update<'static, 'static, T>