Creates a batch result struct named after the first parameter.
Uses the second parameter as the success type.
Uses the third parameter as the key type for the HashMaps.
The type will be a uniffi Record and it will have a From impl for BatchResult.
Creates a batch result struct named after the first parameter.
The second parameter is the success type.
Uses the third parameter as the key type for the failure HashMap.
The fourth parameter is a newtype conaining a Map<KeyType, SuccessType>.
The type will be a uniffi Record and it will have a From impl for BatchResult.
Holds metadata fields as part of an SDK call. Each encrypted value will have metadata that associates
it to a tenant ID as well as optional fields for other arbitrary key/value pairs and a request ID to send to the Tenant Security Proxy.
Only the tenant ID will be used in Standalone SDKs, which can be created easily with new_simple().
Applies the padding required for base85 algorithms to produce consistent string when the bytes are encoded.
If you’re using a base85 encoding algorithm other than the directly supported z85, see our tests in util.rs for examples.
Encode a set of prefix bytes to the appropriate z85 encoded string. This means padding the prefix using base85_prefix_padding
and truncating the string to be 7 characters instead of the 10 that’s returned.