BuildField

Trait BuildField 

Source
pub trait BuildField<Tag> {
    type Value;
    type Output;

    // Required method
    fn build_field(
        self,
        _tag: PhantomData<Tag>,
        value: Self::Value,
    ) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn build_field(self, _tag: PhantomData<Tag>, value: Self::Value) -> Self::Output

Implementors§

Source§

impl<Context, Tag> BuildField<Tag> for Context
where Context: UpdateField<Tag, IsPresent, Mapper = IsNothing>,

Source§

type Value = <Context as UpdateField<Tag, IsPresent>>::Value

Source§

type Output = <Context as UpdateField<Tag, IsPresent>>::Output