pub fn as_string(&self) -> Option<String> {
        let result = String::from_utf8(self.inner.to_vec());
        if result.is_err() {
            return None;
        }

        Some(result.unwrap())
    }
/// Tries converting to String by copy, returns None in case of error (wrong UTF8 encoding)
Tries converting to String by copy, returns None in case of error (wrong UTF8 encoding)
Tries converting to String by copy returns None in case of error ( wrong UTF8 encoding )
pub fn as_string(&self) -> Option<String> {
        let result = String::from_utf8(self.inner.to_vec());
        if result.is_err() {
            return None;
        }
        Some(result.unwrap())
    }
pub fn as_string ( & self ) -> Option < String > { let result = String :: from_utf8 ( self . inner . to_vec ( ) ) ; if result . is_err ( ) { return None ; } Some ( result . unwrap ( ) ) }
Tries converting to String by copy, returns None in case of error (wrong UTF8 encoding)
Tries converting to String by copy returns None in case of error ( wrong UTF8 encoding )
&self
&self