pub struct Onward {
pub name: String,
pub peer_key: Option<String>,
pub scope: Vec<String>,
}Expand description
KEEL-19: what a service decided an exchange may give — the audience (its name and the key it proved) and the scope of the token for it.
Fields§
§name: StringThe audience’s name in the service (what the refusal and audit say).
peer_key: Option<String>The audience’s key (key:<hex>): aud; None for a child on the
issuer’s own pipe (pipe:<name>).
scope: Vec<String>The scope of the token for it, decided (never read back from the subject token here: the decision is the service’s).
Trait Implementations§
impl Eq for Onward
impl StructuralPartialEq for Onward
Auto Trait Implementations§
impl Forget for Onward
impl Freeze for Onward
impl RefUnwindSafe for Onward
impl Send for Onward
impl Sync for Onward
impl Unpin for Onward
impl UnsafeUnpin for Onward
impl UnwindSafe for Onward
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.