pub struct AuthenticatedBinding {
pub issuer: Digest32,
pub audience: String,
pub holder: Vec<u8>,
pub pass_digest: Digest32,
pub log: GrantLogId,
pub required: Revision,
pub rights: Vec<BoundRightClaim>,
}Expand description
A grant-decision binding the Lys producer seam authenticated (DIRECTORY-089 R2).
Who issued it with which key, for which audience and
holder, over which exact canonical pass, from which log, at which
required revision, with which rights. It is the seam’s output, not yet
trusted for this connection: verify_binding compares it with the
presented credential first.
Fields§
§issuer: Digest32The issuing authority’s key identity.
audience: StringThe audience the binding was produced for.
holder: Vec<u8>The holder the binding names, as the pass names it.
pass_digest: Digest32The exact canonical digest of the pass the binding was produced for.
log: GrantLogIdThe grant log every dependency comes from.
required: RevisionThe receipt revision the binding was decided at.
rights: Vec<BoundRightClaim>Every bound right.
Trait Implementations§
Source§impl Clone for AuthenticatedBinding
impl Clone for AuthenticatedBinding
Source§impl Debug for AuthenticatedBinding
impl Debug for AuthenticatedBinding
impl Eq for AuthenticatedBinding
Source§impl PartialEq for AuthenticatedBinding
impl PartialEq for AuthenticatedBinding
impl StructuralPartialEq for AuthenticatedBinding
Auto Trait Implementations§
impl Freeze for AuthenticatedBinding
impl RefUnwindSafe for AuthenticatedBinding
impl Send for AuthenticatedBinding
impl Sync for AuthenticatedBinding
impl Unpin for AuthenticatedBinding
impl UnsafeUnpin for AuthenticatedBinding
impl UnwindSafe for AuthenticatedBinding
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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.