pub struct Options {
pub exp: i64,
pub nbf: Option<i64>,
pub nnc: Option<String>,
pub fct: Option<Map<String, Value>>,
pub prf: Option<Vec<String>>,
}Expand description
A token’s claims beyond iss, aud and cap: exp (seconds) is
required, the rest optional. prf names the token’s parent by
proof_id; at most one.
Fields§
§exp: i64§nbf: Option<i64>§nnc: Option<String>§fct: Option<Map<String, Value>>§prf: Option<Vec<String>>Trait Implementations§
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more