Enum jwt_simple::claims::Audiences [−][src]
Expand description
Depending on applications, the audiences property may be either a set or a string.
We support both.
Variants
AsString(String)Implementations
Return true if the audiences include any of the allowed_audiences entries
Get the audiences as a string. If it was originally serialized as a set, it can be only converted to a string if it contains at most one element.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Audiencesimpl UnwindSafe for AudiencesBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V