StringOrListOfStrings

Trait StringOrListOfStrings 

pub trait StringOrListOfStrings {
    // Required method
    fn to_object(self) -> Object;
}
Expand description

A trait implemented by strings and list of strings.

Required Methods§

fn to_object(self) -> Object

Implementations on Foreign Types§

§

impl StringOrListOfStrings for &str

§

fn to_object(self) -> Object

§

impl StringOrListOfStrings for String

§

fn to_object(self) -> Object

§

impl<S> StringOrListOfStrings for Vec<S>
where S: Into<String>,

§

fn to_object(self) -> Object

Implementors§