AttributeValue

Trait AttributeValue 

Source
pub trait AttributeValue<'a>:
    Eq
    + Borrow<str>
    + Deserialize<'a> {
    // Required method
    fn from_cow(value: Cow<'a, str>) -> Self;
}

Required Methods§

Source

fn from_cow(value: Cow<'a, str>) -> Self

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<'a> AttributeValue<'a> for Cow<'a, str>

Source§

fn from_cow(value: Cow<'a, str>) -> Self

Source§

impl<'a> AttributeValue<'a> for String

Source§

fn from_cow(value: Cow<'a, str>) -> Self

Implementors§