Trait openid::CompactJson

source ·
pub trait CompactJson: Serialize + DeserializeOwned { }
Expand description

A marker trait that indicates that the object is to be serialized to JSON and deserialized from JSON. This is primarily used in conjunction with the CompactPart trait which will serialize structs to JSON before base64 encoding, and vice-versa.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl CompactJson for Empty

source§

impl CompactJson for StandardClaims

source§

impl CompactJson for Userinfo

source§

impl<T> CompactJson for openid::biscuit::jwe::Header<T>

source§

impl<T> CompactJson for openid::biscuit::jws::Header<T>

source§

impl<T> CompactJson for ClaimsSet<T>