pub struct DelegationToken {
pub claims: DelegationClaims,
pub delegator_signature: String,
pub binding_signature: String,
pub token_public_key: String,
}Expand description
A delegation token with dual signatures.
Fields§
§claims: DelegationClaims§delegator_signature: StringHex-encoded Ed25519 signature by the delegating human’s key.
binding_signature: StringHex-encoded Ed25519 signature by the one-time token_key.
token_public_key: StringHex-encoded public key of the one-time token_key (for matching against project.yaml).
Trait Implementations§
Source§impl Debug for DelegationToken
impl Debug for DelegationToken
Source§impl<'de> Deserialize<'de> for DelegationToken
impl<'de> Deserialize<'de> for DelegationToken
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
Auto Trait Implementations§
impl Freeze for DelegationToken
impl RefUnwindSafe for DelegationToken
impl Send for DelegationToken
impl Sync for DelegationToken
impl Unpin for DelegationToken
impl UnsafeUnpin for DelegationToken
impl UnwindSafe for DelegationToken
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