Function aws_smithy_json::deserialize::token::expect_blob_or_null

source ยท
pub fn expect_blob_or_null(
    token: Option<Result<Token<'_>, DeserializeError>>,
) -> Result<Option<Blob>, DeserializeError>
Expand description

Expects a Token::ValueString or Token::ValueNull. If the value is a string, it interprets it as a base64 encoded Blob value.