Skip to main content

StringOrListOfStrings

Trait StringOrListOfStrings 

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

A string or a list of strings.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl StringOrListOfStrings for &str

Source§

impl StringOrListOfStrings for String

Source§

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

Implementors§