pub fn str(&self) -> Option<&str> {
        if let Self::Str(s) = self {
            Some(&s)
        } else {
            None
        }
    }
/// Retrieve &str from a value in case it is a string.
Retrieve &str from a value in case it is a string.
Retrieve &str from a value in case it is a string .
pub fn str(&self) -> Option<&str> {
        if let Self::Str(s) = self {
            Some(&s)
        } else {
            None
        }
    }
pub fn str ( & self ) -> Option < & str > { if let Self :: Str ( s ) = self { Some ( & s ) } else { None } }
Retrieve &str from a value in case it is a string.
Retrieve &str from a value in case it is a string .
&self
&self