pub struct ProofLink {
pub issuer: Vec<u8>,
pub scopes: Vec<String>,
pub signature: Vec<u8>,
}Expand description
A link in the proof/delegation chain
Fields§
§issuer: Vec<u8>The parent token’s issuer public key
scopes: Vec<String>The parent token’s scopes (for attenuation checking)
signature: Vec<u8>Signature of the parent token
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProofLink
impl<'de> Deserialize<'de> for ProofLink
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 ProofLink
impl RefUnwindSafe for ProofLink
impl Send for ProofLink
impl Sync for ProofLink
impl Unpin for ProofLink
impl UnsafeUnpin for ProofLink
impl UnwindSafe for ProofLink
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