fn base64_encode(&self) -> Result<String, Error> {
        let token_bytes: Vec<u8> = bincode::serialize(self).map_err(Error::Serialization)?;

        // Encode token structure bytes into base64.
        Ok(base64::encode_config(token_bytes, base64::STANDARD))
    }
/// Encode token structure into a string using base64 encoding.
Encode token structure into a string using base64 encoding.
Encode token structure into a string using base64 encoding .
fn base64_encode(&self) -> Result<String, Error> {
        let token_bytes: Vec<u8> = bincode::serialize(self).map_err(Error::Serialization)?;
        // Encode token structure bytes into base64.
        Ok(base64::encode_config(token_bytes, base64::STANDARD))
    }
fn base64_encode ( & self ) -> Result < String , Error > { let token_bytes : Vec < u8 > = bincode :: serialize ( self ) . map_err ( Error :: Serialization ) ? ; // Encode token structure bytes into base64. Ok ( base64 :: encode_config ( token_bytes , base64 :: STANDARD ) ) }
Encode token structure into a string using base64 encoding.
Encode token structure into a string using base64 encoding .
&self
&self