Trait SerializeKey

Source
pub trait SerializeKey {
    type Impl<'a>: SerializeKeyImpl
       where Self: 'a;

    // Required method
    fn as_impl(&self) -> Self::Impl<'_>;
}

Required Associated Types§

Source

type Impl<'a>: SerializeKeyImpl where Self: 'a

Required Methods§

Source

fn as_impl(&self) -> Self::Impl<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SerializeKey for &str

Source§

type Impl<'a> = &str where Self: 'a

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for i8

Source§

type Impl<'a> = i8

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for i16

Source§

type Impl<'a> = i16

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for i32

Source§

type Impl<'a> = i32

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for i64

Source§

type Impl<'a> = i64

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for u8

Source§

type Impl<'a> = u8

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for u16

Source§

type Impl<'a> = u16

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for u32

Source§

type Impl<'a> = u32

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for u64

Source§

type Impl<'a> = u64

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for String

Source§

type Impl<'a> = &'a str

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl SerializeKey for Uuid

Source§

type Impl<'a> = Uuid

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl<T: SerializeKey + ?Sized> SerializeKey for &T

Source§

type Impl<'a> = <T as SerializeKey>::Impl<'a> where Self: 'a

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl<T: SerializeKey + ?Sized> SerializeKey for &mut T

Source§

type Impl<'a> = <T as SerializeKey>::Impl<'a> where Self: 'a

Source§

fn as_impl(&self) -> Self::Impl<'_>

Source§

impl<T: SerializeKey + ?Sized> SerializeKey for Box<T>

Source§

type Impl<'a> = <T as SerializeKey>::Impl<'a> where Self: 'a

Source§

fn as_impl(&self) -> Self::Impl<'_>

Implementors§