pub fn new(string: String) -> Result<NaiveG60String, VerificationError> {
        Self::verify(string.as_str())?;

        unsafe { Ok(Self::new_unchecked(string)) }
    }
/// Creates a new `NaiveG60String` from an already G60 encoded string.
Creates a new `NaiveG60String` from an already G60 encoded string.
Creates a new ` NaiveG60String ` from an already G60 encoded string .
pub fn new(string: String) -> Result<NaiveG60String, VerificationError> {
        Self::verify(string.as_str())?;
        unsafe { Ok(Self::new_unchecked(string)) }
    }
pub fn new ( string : String ) -> Result < NaiveG60String , VerificationError > { Self :: verify ( string . as_str ( ) ) ? ; unsafe { Ok ( Self :: new_unchecked ( string ) ) } }
Creates a new `NaiveG60String` from an already G60 encoded string.
Creates a new ` NaiveG60String ` from an already G60 encoded string .
string
String
string
String