pub struct DelegationStep {
pub principal: PrincipalRef,
}Expand description
One flattened RFC 8693 actor-chain step.
Fields§
§principal: PrincipalRefSelf-describing delegating principal projection.
Implementations§
Source§impl DelegationStep
impl DelegationStep
Sourcepub fn audit_projection(&self) -> AuditDelegationStep
pub fn audit_projection(&self) -> AuditDelegationStep
Projects one verified delegation hop into its durable audit wire form.
The conversion lives here rather than in wyrd-spec because the
runtime owns PrincipalRef; the spec crate stays free of runtime
types. Only verified identity crosses: the principal’s id, its kind
tag, and the exact root it acted under. No credential material is
representable in the result.
Trait Implementations§
Source§impl Clone for DelegationStep
impl Clone for DelegationStep
Source§impl Debug for DelegationStep
impl Debug for DelegationStep
Source§impl<'de> Deserialize<'de> for DelegationStep
impl<'de> Deserialize<'de> for DelegationStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DelegationStep
Source§impl PartialEq for DelegationStep
impl PartialEq for DelegationStep
Source§impl Serialize for DelegationStep
impl Serialize for DelegationStep
impl StructuralPartialEq for DelegationStep
Auto Trait Implementations§
impl Freeze for DelegationStep
impl RefUnwindSafe for DelegationStep
impl Send for DelegationStep
impl Sync for DelegationStep
impl Unpin for DelegationStep
impl UnsafeUnpin for DelegationStep
impl UnwindSafe for DelegationStep
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.