Trait mendes::forms::ToField

source ·
pub trait ToField {
    // Required method
    fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field;
}
Available on crate feature forms only.

Required Methods§

source

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ToField for Cow<'_, str>

source§

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

source§

impl ToField for bool

source§

fn to_field(name: Cow<'static, str>, _: &[(&str, &str)]) -> Field

source§

impl ToField for f32

source§

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

source§

impl ToField for i32

source§

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

source§

impl ToField for i64

source§

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

source§

impl ToField for u8

source§

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

source§

impl ToField for u16

source§

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

source§

impl ToField for u32

source§

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

source§

impl ToField for u64

source§

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

source§

impl ToField for String

source§

fn to_field(name: Cow<'static, str>, params: &[(&str, &str)]) -> Field

source§

impl ToField for NaiveDate

Available on crate feature chrono only.
source§

fn to_field(name: Cow<'static, str>, _: &[(&str, &str)]) -> Field

Implementors§

source§

impl ToField for File<'_>