pub trait IntoAttributeValue {
    // Required method
    fn into_attribute_value(self) -> Option<String>;
}
Expand description

A trait for types which can be converted to an attribute value.

Required Methods§

source

fn into_attribute_value(self) -> Option<String>

Turns this into an attribute string, or None if it shouldn’t be added.

Implementations on Foreign Types§

source§

impl IntoAttributeValue for i32

source§

impl<'a> IntoAttributeValue for &'a String

source§

impl<'a> IntoAttributeValue for &'a str

source§

impl IntoAttributeValue for u64

source§

impl IntoAttributeValue for i64

source§

impl IntoAttributeValue for i8

source§

impl IntoAttributeValue for u32

source§

impl IntoAttributeValue for IpAddr

source§

impl IntoAttributeValue for u8

source§

impl IntoAttributeValue for usize

source§

impl IntoAttributeValue for String

source§

impl<T: IntoAttributeValue> IntoAttributeValue for Option<T>

source§

impl IntoAttributeValue for u16

source§

impl IntoAttributeValue for isize

source§

impl IntoAttributeValue for i16

Implementors§