Trait AsString

Source
pub trait AsString {
    // Required method
    fn as_string_or(&self, default: &'static str) -> String;
}

Required Methods§

Source

fn as_string_or(&self, default: &'static str) -> String

Implementations on Foreign Types§

Source§

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

Source§

fn as_string_or(&self, default: &'static str) -> String

Implementors§