pub fn string(&self) -> Option<&str> {
        use self::PrimitiveValue::*;
        match self {
            Strs(c) => c.first().map(String::as_str),
            Str(s) => Some(s),
            _ => None,
        }
    }
/// Get a single string value. If it contains multiple strings,
/// only the first one is returned.
Get a single string value. If it contains multiple strings,
only the first one is returned.
Get a single string value . If it contains multiple strings only the first one is returned .
pub fn string(&self) -> Option<&str> {
        use self::PrimitiveValue::*;
        match self {
            Strs(c) => c.first().map(String::as_str),
            Str(s) => Some(s),
            _ => None,
        }
    }
pub fn string ( & self ) -> Option < & str > { use self :: PrimitiveValue :: * ; match self { Strs ( c ) => c . first ( ) . map ( String :: as_str ) , Str ( s ) => Some ( s ) , _ => None , } }
Get a single string value.
Get a single string value .
&self
&self