/// return a new instance with token authentication
return a new instance with token authentication
return a new instance with token authentication
pub fn token(token: impl Into<String>) -> RegistryAuth {
        RegistryAuth::Token {
            identity_token: token.into(),
        }
    }
pub fn token ( token : impl Into < String > ) -> RegistryAuth { RegistryAuth :: Token { identity_token : token . into ( ) , } }
return a new instance with token authentication
return a new instance with token authentication
token
impl Into<String>