pub fn canonicalize(&self) -> Cow<G60String> {
        if canonical::is_canonical(&self.value) {
            Cow::Borrowed(self)
        } else {
            let mut encoded = self.value.clone();
            canonical::canonicalize_in_place(&mut encoded);

            Cow::Owned(G60String { value: encoded })
        }
    }
/// Get the canonical form of the `G60String`.
/// Uses `Cow` to not allocate avoid unnecessary allocations.
Get the canonical form of the `G60String`.
Uses `Cow` to not allocate avoid unnecessary allocations.
Get the canonical form of the ` G60String ` . Uses ` Cow ` to not allocate avoid unnecessary allocations .
pub fn canonicalize(&self) -> Cow<G60String> {
        if canonical::is_canonical(&self.value) {
            Cow::Borrowed(self)
        } else {
            let mut encoded = self.value.clone();
            canonical::canonicalize_in_place(&mut encoded);
            Cow::Owned(G60String { value: encoded })
        }
    }
pub fn canonicalize ( & self ) -> Cow < G60String > { if canonical :: is_canonical ( & self . value ) { Cow :: Borrowed ( self ) } else { let mut encoded = self . value . clone ( ) ; canonical :: canonicalize_in_place ( & mut encoded ) ; Cow :: Owned ( G60String { value : encoded } ) } }
Get the canonical form of the `G60String`.
Get the canonical form of the ` G60String ` .
&self
&self