pub struct Validation {
pub audience: Audience,
pub purpose: Purpose,
pub required_capabilities: BTreeSet<Capability>,
}Expand description
Expected recipient and use come from trusted routing configuration, never the token.
Fields§
§audience: Audience§purpose: Purpose§required_capabilities: BTreeSet<Capability>Trait Implementations§
Source§impl Clone for Validation
impl Clone for Validation
Auto Trait Implementations§
impl Freeze for Validation
impl RefUnwindSafe for Validation
impl Send for Validation
impl Sync for Validation
impl Unpin for Validation
impl UnsafeUnpin for Validation
impl UnwindSafe for Validation
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