Trait IntoRow

Source
pub trait IntoRow<'s>: Sized {
    type Serializer: Serializer<'s, Self>;

    // Required method
    fn get_serializer() -> Self::Serializer;
}
Available on crate feature row only.
Expand description

Produce a Serializer to convert values of this type into rows of output.

Required Associated Types§

Required Methods§

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<'s, T> IntoRow<'s> for Option<T>
where T: IntoRow<'s>,

Source§

type Serializer = OptionSerializer

Source§

fn get_serializer() -> Self::Serializer

Source§

impl<'s, T> IntoRow<'s> for Arc<T>
where T: IntoRow<'s>,

Source§

type Serializer = ArcSerializer

Source§

fn get_serializer() -> Self::Serializer

Implementors§

Source§

impl<'a, T> IntoRow<'a> for T
where T: SelfSerializer<'a>,

Source§

type Serializer = DefaultSelfSerializer<T>