Function tozny_auth::question::unpack
[-] [+]
[src]
pub fn unpack<T: Decodable>(payload: &str) -> Result<T, QuestionError>
Unpacks a base64-encoded JSON value.
pub fn unpack<T: Decodable>(payload: &str) -> Result<T, QuestionError>
Unpacks a base64-encoded JSON value.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).