Trait ToOptionalString

Source
pub trait ToOptionalString {
    // Required method
    fn to_optional_string(self) -> Option<String>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl ToOptionalString for &str

Source§

impl<T: ToString> ToOptionalString for Option<T>

Implementors§