pub fn strings(&self) -> Option<Vec<&str>> {
        use self::PrimitiveValue::*;
        match self {
            Strs(c) => Some(c.iter().map(String::as_str).collect()),
            Str(s) => Some(vec![&s]),
            _ => None,
        }
    }
/// Get a sequence of string values.
Get a sequence of string values.
Get a sequence of string values .
pub fn strings(&self) -> Option<Vec<&str>> {
        use self::PrimitiveValue::*;
        match self {
            Strs(c) => Some(c.iter().map(String::as_str).collect()),
            Str(s) => Some(vec![&s]),
            _ => None,
        }
    }
pub fn strings ( & self ) -> Option < Vec < & str > > { use self :: PrimitiveValue :: * ; match self { Strs ( c ) => Some ( c . iter ( ) . map ( String :: as_str ) . collect ( ) ) , Str ( s ) => Some ( vec ! [ s ] ) , _ => None , } }
Get a sequence of string values.
Get a sequence of string values .
&self
&self