Struct sql::query_model::attribute::core::AsKey [−][src]
struct AsKey<A: AttributeKey>(PhantomData<A>);
Expand description
Helper struct to derive a TypeMapKey
from an Attribute
.
Tuple Fields
0: PhantomData<A>
Trait Implementations
Derive a TypeMapKey
from an Attribute
.
Auto Trait Implementations
impl<A> RefUnwindSafe for AsKey<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for AsKey<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more