Function aws_smithy_json::deserialize::token::expect_string_or_null
source · pub fn expect_string_or_null(
token: Option<Result<Token<'_>, Error>>
) -> Result<Option<EscapedStr<'_>>, Error>
Expand description
Expects a Token::ValueString or Token::ValueNull, and returns the EscapedStr value if it’s not null.