pub fn account_data_from_ui(
value: &Value,
) -> Result<AccountData, UiAccountConversionError>Expand description
Decode a serde-serialized UiAccount (the pre/post payload shape) into
the wire AccountData shape. Only base64 data is supported; space falls
back to the decoded data length when absent.
ยงErrors
UiAccountConversionError if value is not a base64 UiAccount.