Skip to main content

StatusMechanism

Type Alias StatusMechanism 

Source
pub type StatusMechanism<'a> = StatusMechanism<'a>;
👎Deprecated since 0.3.0:

moved to status_list::StatusMechanism

Available on crate feature sd-jwt only.
Expand description

Aliased Type§

pub enum StatusMechanism<'a> {
    StatusList(&'a StatusListRef),
    Other {
        name: &'a str,
        value: &'a Value,
    },
}

Variants§

§

StatusList(&'a StatusListRef)

A Token Status List reference.

§

Other

A mechanism this crate does not implement.

Fields

§name: &'a str

Its name, the member of status it is given under.

§value: &'a Value

Its value.